[Thread Prev][Thread Next][Index]

Re: [ferret_users] Draw line in x-y-plot



PPL ALINE is generally a poor way to draw lines and rather buggy (or at least inconsistent).

Using syntax like Arne's: PLOT/VS {x1,x2,.....,xn},{y1,y2,.....,yn} is a much better way to go.

Arne's mistake was in putting x's and y's inside the same bracket. Just like any plot/vs command, the x-values are listed together, then the y-values. See my example above. Also, I suspect that values like 110W might not work. In that case try numerical values only: 110W=250.

Billy K

On 11Mar 2008, at 12:19 PM, Matthew Hecht wrote:

Arne, try
   ppl aline 1, x1, y1, x2, y2
where "x1, y1, x2, y2" would be your coordinates of "-110, 10, -10, 40".

--Matthew

On Mar 11, 2008, at 10:34 AM, Arne Biastoch wrote:

Hi Ferreters,

just a quick and (I assume) simple question that struggles me.

Suppose I have a x-y-plot, e.g.

yes? set data levitus_climatology
yes? shade temp[k=1]

How can I draw a single line, e.g. from 10N/110W to 40N/10W?
I tried:

yes? plot/vs/line/over/color=black/nolabel {110W,10N}{10W,40N}
 **ERROR: command syntax: {110W,10N}{10W,40N}
          {110W,10N} before {10W,40N} is illegal

but always get an error.

Thanks,
	Arne

--

Dr. Arne Biastoch

Leibniz-Institut für Meereswissenschaften (IFM-GEOMAR)
FB1 Climate Dynamics        phone: ++49 431 600-4013
Duesternbrooker Weg 20      fax  : ++49 431 600-4012
24105 Kiel, Germany         email: abiastoch@xxxxxxxxxxxxx

http://www.ifm-geomar.de/~abiastoch

--
Matthew Hecht
email: mhecht@xxxxxxxx                   http://public.lanl.gov/mhecht
mail : MS B296, Los Alamos National Lab,       http://climate.lanl.gov
       Los Alamos, NM 87545                        phone: 505-667-5798






[Thread Prev][Thread Next][Index]

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

Privacy Policy | Disclaimer | Accessibility Statement