[Thread Prev][Thread Next][Index]

[ferret_users] plot/startcolor=N qualifier



Hi all,

ppl color allows user to modify color line
but I don't know how to start a plot from a specified color,
for example color 2 to keep plot axis in black.

Note that I would like to do this as easier as possible ie
without passing by the trick to plot 2 times the same variable
because it causes the display of an extra label such as attached image.

I would also like to keep the convenient feature to plot several variables
in one command because it a easy way to get horizontal
and vertical ranges nicely fit from all ranges of plotted variables.

yes? let pi=atan(1.)*4.
yes? let a = (-1)*pi*4 + i[i=1:500]*(8*pi/500)
yes? let b = sin(a)/a
yes? ppl color 2, 0, 50, 100
yes? ppl color 3, 100, 50, 0
yes? plot/thick=3/dash=(0.05,0.1,0.2,0.1) b, b, b[i=@shf:20]

Let me know if this qualifier could be added in a next release of ferret
or if there is already a way to do this I could have missed.

Regards

Patrick

--
LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ
Data Analysis and Visualization Engineer
ICMC - IPSL Climate Modelling Centre
--

Attachment: plot_color.gif
Description: GIF image


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement