[Thread Prev][Thread Next][Index]

Re: Creating Postscript o/p files?



Hi,
The labels are not being removed because you are issuing the
SHADE command without a /SET_UP qualifier. This means that
the PPL commands and the PPL FILL will not have any effect.
(Also you always need to follow a SHADE/SET with PPL SHADE
rather than PPL FILL.)

Start the plot sequence with a SHADE/SET, which makes the settings
and lets you use "PPL LIST LABELS". Do all of the PPL commands
to remove and reset labels, and finally draw the plot with PPL SHADE I think your plot will be drawn correctly

shade/SET/l=5/levels=(26)(26,30,0.5)(30) temp[i=1:127,j=1:191,k=20]

ppl list labels
ppl labs/nouser,1,0,0,0 @AS ... (all of your ppl commands)
ppl SHADE


Ansley Manke

cshaji@UMassD.Edu wrote:

Dear All,

I am having some problem in getting the postscript o/p file created
correctly.

I use the following script:
=============================================================================
cancel data_set/all
cancel variable/all
go white
set mode metafile fig
!set mode meta

use eas_data.nc

define viewport/xlim=0.0, 0.5/ylim=0.600, 1.000/text=0.8 v1

set viewport v1
shade/l=5/levels=(26)(26,30,0.5)(30) temp[i=1:127,j=1:191,k=20]

ppl list labels
ppl labs/nouser,1,0,0,0 @AS ppl labs/nouser,2,0,0,0 @AS ppl labs/nouser,3,0,0,0 @AS ppl labs/nouser,4,0,0,0 @AS ppl labs/nouser,5,0,0,0 @AS ppl labs/nouser,6,0,0,0 @AS
ppl labs/nouser,7,1.250,2.30,0.920 Current & Temperature

ppl xlab " " ppl ylab " " ppl title " "
ppl ylab "Latitude" ppl labs/nouser 8,1.250,-7.5E-01,0.920 Longitude
ppl fill

vector/overlay/l=5/leng=1./xskip=3/yskip=3
u[i=1:127,j=1:191,k=20],v[i=1:127,j=1:191,k=20]
===============================================================================================

I start the feeret with "ferret -unmapped". After running the script
(journal file), ran gksm2ps to convert the metafile to ps file. As seen
in the above script, I remove the labels coming in the netcdf file and
put my own labels. The ps file is created, but in the plot the netcdf
labels are also written. How can I suppress this?

If somebody knows it, please help me.

Thanks in advance

C. Shaji




[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement