Stems
Create a stem plot of 50 data values between −2π and 2π.
using GMT
Y = linspace(-2*pi,2*pi,50);
stem(Y, show=true)
The same but now specify the set of x values for the stem plot.
using GMT
Y = linspace(-2*pi,2*pi,50);
stem([Y Y], show=true)
Two of them and with some variations.
using GMT
Y = linspace(-2*pi,2*pi,50);
stem(Y,[Y -Y], multicol=true, fill=true, ms="10p", nobaseline=true, ls=:DashDot, show=true)
© GMT.jl. Last modified: March 28, 2023. Website built with Xranklin.jl and the Julia programming language.
These docs were autogenerated using GMT: v0.44.6