[Thread Prev][Thread Next][Index]

Re: [ferret_users] Customizing multi-line plot

You can change the definitions of the colors of lines, so that for instance line1 is black, line2 is blue, line3 is light black, etc.  Then plot all the lines together and let Ferret draw the legend.  Try this:
yes? ppl color,2,0,0,100
yes? ppl color,3,70,70,70
yes? ppl color,4,60,80,100

yes? use coads_climatology
yes? plot/thick/L=1 sst[y=-20], sst[y=-10], sst[y=0], sst[y=10]

For other styles of legends, search the list archives for "legend".  There are several scripts that people have contributed, which let you draw line legends in a small box in a corner of the plot.


On 7/12/2013 9:22 AM, Matthew Cooper wrote:

The way I deal with the pale figures is by opening the .ps file in a text editor prior to converting to pdf and changing the /lw setting to 750:

/lw {750 div setlinewidth} def

Then after changing the linewidth parameter I convert to pdf or jpg or png or whatever format I want. 

Other folks can help you with the legend.


On Fri, Jul 12, 2013 at 6:29 AM, golla nageswararao <ezeenag4u@xxxxxxxxx> wrote:
Hi all,
  I want to plot publishing quality line plot in ferret with multiple parameters in same plot (say 4 parameters). Two in thick colour (thick blue, thick black) and two in light (light blue, light black). If I use the "plot", then "/over" command then I am not getting how to keep the legend. If I use all parameters together in plot command and use go legend command I am not able to control the colors. So is there any smart way to deal with this problem?
Moreover, the plot (thick=3 option) command figures saved in eps/ps formats are becoming somewhat pale after converting into pdf file. Is there any way to get maximum thickness (publishing quality) ?

Thanks in advance.

With Best regards,

Matt Cooper
M.S. candidate, Water Resources Science
College of Earth, Ocean and Atmospheric Sciences
Oregon State University

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

Privacy Policy | Disclaimer | Accessibility Statement