[Thread Prev][Thread Next][Index]

Re: [ferret_users] Legend

Hello Sudheer,
I'd suggest plotting both together and adding a "ppl line,2,,4" to render the second line with dashes"

use levitus_climatology
! the following command on a single line or use the backslash (as here) for continuation
plot/set_up/nolab/hlim=2:30:1/vlim=0:2000:100/color=red \
go legend 1 "levitus_lat:50N:10N" lr
go legend 2 "levitus_lat:15S-10S" lr ;  ppl line,2,,4 ; ppl plot

Good luck,
Sudheer Joseph wrote:
Dear Users,
I am using the below script to plot temperature of 2 locations for comparison and wanted to put legend, But only one legend is appearing, is there a way out?. If I try to plot 2 using single plot command the legends will appear but there is no way to make one as dash.( specify property of one line)
set vie ur
plot/set_up/nolab/hlim=2:30:1/vlim=0:2000:100/color=red temp[x=50:60@ave,y=5:10@ave,l=1,d=1]
go legend 1 "levitus_lat:50N:10N" lr
ppl plot
plot/set_up/ov/nolab/hlim=2:30:1/dash/color=red/vlim=0:2000:100 temp[x=50:60@ave,y=-15:-10@ave,l=1]
go legend 2 "levitus_lat:15S-10S" lr
ppl plot/ov

Sudheer Joseph Scientist Indian National Centre for Ocean Information Services (INCOIS) Ocean Valley, Post Box No# 21, IDA Jeedimetla P.O. Hyderabad, Ranga Reddy District - 500 055
Andhra Pradesh, India.
E-mail:sjo@xxxxxxxxxxxxxx <mailto:E-mail%3Asjo@xxxxxxxxxxxxxx>; sudheer.joseph@xxxxxxxxx <mailto:sudheer.joseph@xxxxxxxxx>; sjo@xxxxxxxxxxxxx <mailto:sjo@xxxxxxxxxxxxx>.
Web- http://oppamthadathil.tripod.com
          --------------* ---------------
"The ultimate measure of a man is
not where he stands in moments of
comfort and convenience, but where
he stands at times of challenge and
                       Martin Luther King, Jr.

[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement