[Thread Prev][Thread Next][Index]

Re: [ferret_users] customizing the line key



Well, certainly you can do them by hand for a one-off, but others might be interested in the scripts. In general, mixing USER and NOUSER units is confusing, at least to my little mind.

I shouldn't have been so negative last time. For many applications, the simplest script (legline.go) will do the job nicely and easily. The problems come up with a time axis (which I see that you have). Other problems occur with a depth axis (positive downward). But for the great majority of cases, legline.go will make a nice set of legend lines.

BK

On Nov 30, 2010, at 3:10 PM, Tony Craig wrote:


just as a followup, the legend uses "aline" which is now
deprecated according the user guide.  so, i was able to
get a nice legend like this,

plot/over/vs/line=8/sym=1/size=0.2/nolab {1200,1900},{90,90}
plot/over/vs/line=9/sym=1/size=0.2/nolab {1200,1900},{54,54}
plot/over/vs/line=10/sym=1/size=0.2/nolab {1200,1900},{32,32}
plot/over/vs/line=7/size=0.2/nolab {1200,1900},{18,18}

label/nouser 6.5,5.25,-1,1,0.1,"sample1"
label/nouser 6.5,5.00,-1,1,0.1,"sample2"
label/nouser 6.5,4.75,-1,1,0.1,"sample3"
label/nouser 6.5,4.50,-1,1,0.1,"sample4"

feel free to comment about my user vs nouser coordinates.
everything looks fine on my plot.

thanks again,

tony........

On 11/30/10 2:15 PM, William S. Kessler wrote:
Do you mean the legend that identifies the line? In that case search the archives for "legend". There are several scripts that allow you to place your legend anywhere, with controllable lines and legend text.

A couple of points:
* time axes are harder to deal with, because the USER units are not always intuitive (usually hours or minutes, and the start point may not be what you think it is. Try PPL LIST TAXIS. Note TSTART and DT (time unit in minutes). Then you might be able to figure out how to place the legend in USER units. It can be frustrating. * another option is to write the legend using NOUSER units. I think there is a script by Emilie Vanvyve that does this.

Billy K

On Nov 30, 2010, at 1:17 PM, Tony Craig wrote:


first, i am unable to search the archives.  i get no matches,
even for a simple search like "plot".  is the search working near
the top of the ferret email archives on this page,

http://ferret.pmel.noaa.gov/Ferret/email-users-group

second, what i'm really trying to figure out is how to
customize my line key.  i'm actually using a script like below,
so am trying to customize the lines and several other
things for presentation.  and i want to move the "line key"
on the plot.  how do i do that?

thanks,

tony..........

plot/set/line/sym=1/thick=2/size=0.2/hlog/vlog/vlimit=0.001:1000/ vs (np),(var_bf)
ppl xlab "processors"
ppl ylab "time (seconds)"
ppl plot
plot/over/line/sym=1/thick=2/size=0.2/hlog/vlog/vlimit=0.001:1000/ vs (np),(var_jag) plot/over/line/sym=1/thick=2/size=0.2/hlog/vlog/vlimit=0.001:1000/ vs (np),(var_int) plot/over/line/thick=2/size=0.2/hlog/vlog/vlimit=0.001:1000/vs (np),(lin)




[Thread Prev][Thread Next][Index]

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

Privacy Policy | Disclaimer | Accessibility Statement