[Thread Prev][Thread Next][Index]

Re: ploting only horizontal grids



Hi Sudheer,
	If you look at the graticule script you will see how it works.

ppl tics,,'ppl$ylen',,'ppl$xlen',1,1

simply increases the length of the major axis tics to the full axis
length in both directions. So to have only the y-axis graticules
present you would not change the tics along the x-axis

ppl tics,,,,'ppl$xlen',1,1

For example try this
	go ptest
	ppl tics,,,,'ppl$xlen',1,1
	ppl plot

The major axis tic placement is determined by the "ppl yaxis"
command in this case.  If you know the limits of an axis
and wanted to add just a few "graticule lines" you could add
them as overlay line which would give you the flexibility of
changing their color.  For example to add red lines at
x=-200,0,200 in the above demo where the yaxis range is -250 to 300

repeat/i=1:3 (plot/o/vs/nolab/line=2 {`i*200-400`,`i*200-400`},{-250,300})

or just one green one at x=75
plot/o/vs/nolab/line=3 {75,75},{-250,300}

Good luck,
Mick


|____Mick.Spillane@noaa.gov____|
|__Room 2070 Bldg#3 NOAA/PMEL__|
|____Phone_:_(206)526-6780_____|




[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement