[Thread Prev][Thread Next][Index]

Re: [ferret_users] aline



Hi Billy, Emilie 
I quite agree. ALINE is often more trouble than it's worth. I've added some text to the description of ALINE in the Users Guide.  Note that one can use PLOT/VS/LINE and specify the line color and thickness directly with /COLOR= and /THICK=  (and as Billy notes, all the qualifiers of the PLOT command, such as /DASH specifiers)

Try this example
yes? ! Draw a plot
yes? plot/line/sym=22/i=1:5 i-3

yes? ! PUt a label inside the plot window at (3,-2) and
yes? ! draw a line from (3,2) to (2,-1)

yes? label 3,-2,-1,0,0.2 "here is the point (2,-1)"
yes? plot/vs/line/over/nolab/color=red/thick {3,2}, {-2,-1}

yes? ! Make a label outside the plot window at (3,3) and
yes? ! draw a line from (3,3) to (4,1)

yes? label 3,3,-1,0,0.2 "here is the point (4,1)"
yes? plot/vs/line/over/nolab/color=blue/thick/set {3,4}, {3,1}
yes? ppl window,off
yes? ppl plot/over


William S. Kessler wrote:
Hi Emilie -

I have stopped using ALINE as it is often flaky. You can achieve the same effect with less bother and much more flexibility by defining your endpoints with LET:

let xpts={4,8}; let ypts={-3,0}
plot/vs/over/nolab/line=N/dash=(...)/col= ... xpts,ypts

If you want the line to go outside the plot box:

plot/vs/over/set/....
ppl window,off
ppl plot/over

Billy K

On Oct 6, 2006, at 6:26 AM, Emilie Vanvyve wrote:

Just for info, I eventually found how to do: use "ppl line 1,,0", cfr PPLUS guide for details.

Emilie


On 6 Oct 2006, at 13:23, Emilie Vanvyve wrote:

Hi everyone,

On a time series of a variable (made with PLOT), the command PPLUS ALINE 1,x1,y1,x2,y2" persists to draw a dashed black line instead of a solid black line.
Does anybody know how to prevent that behaviour? I thought solid was the default case.

Many thanks,

Emilie






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
William S. Kessler
NOAA / Pacific Marine Environmental Laboratory
7600 Sand Point Way NE
Seattle WA 98115 USA

william.s.kessler@noaa.gov
Tel: 206-526-6221
Fax: 206-526-6744
Home page: http://www.pmel.noaa.gov/people/kessler/



-- 

~>   ~>   ~>   ~>   ~>   ~>   ~>   ~>   ~>   ~>   ~> 

Ansley Manke, NOAA/PMEL   ansley.b.manke@noaa.gov
7600 Sand Point Way NE, Seattle WA
Phone 206-526-6246,  FAX 206-526-6744


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement