[Thread Prev][Thread Next][Index]

Re: Creating Postscript o/p files?



Hi Ansley,

This is what I did.

1) created the ps file from the metafile (myfig1.ps)

2) ps2epsi myfig1.ps myfig1.eps -->to convert ps to eps in UNIX.

3) ps2pdf myfig1.ps(eps) myfig1.pdf -->to convert to pdf file (again in
UNIX).

Thanks again,

C. Shaji


> Ansley Manke wrote:
> 
> Hi -
> This isn't something I've done much of, but if you search
> for the words postscript and eps in the mail archive, here's
> a response about converting to eps files.
> 
> http://ferret.pmel.noaa.gov/Ferret/Mail_Archives/fu_2002/msg00219.html
> 
> There is also mention in one of the archive posts of a tool called
> epstopdf
> to convert to pdf format.
> 
> Ansley
> 
> cshaji@UMassD.Edu wrote:
> 
> > Dear Jaion & Ansley,
> >
> >  Many thanks for both of your rplies. It worked and now I can get
> > the ps
> > o/p file correctly.
> > One more question: Is it possible to create eps and pdf graphics o/p
> > or
> > Ferret can give only ps files?
> >
> > Thanks again,
> >
> > C. Shaji
> >
> > Jaison Kurian wrote:
> >
> >
> >> Hi Shaji,
> >>              The ppl commans like "ppl labs" & "ppl xlab" are not
> >> "stand
> >> alone" commands. So we need to use it between SHADE/SET_UP and PPL
> >> SHADE.
> >>
> >>   you have used "shade" without /SET_UP qualifier...
> >>
> >>   shade/l=5/levels=(26)(26,30,0.5)(30) temp[i=1:127,j=1:191,k=20]
> >>
> >>   So if you are trying like...
> >>
> >>   shade/l=5/levels=(26)(26,30,0.5)(30)/SET_UP
> >> temp[i=1:127,j=1:191,k=20]
> >>   ......all ppl commands ..
> >>
> >>   ppl shade
> >>
> >>   you can remove all unwated labels from the final output.
> >>
> >>
> >>  Hope this helps
> >>
> >>  With  Regards
> >>
> >>  Jaison
> >>
> >> On Fri, 17 Sep 2004 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
> >> >
> >> >
> >> >
> >> >
> >> --
> >> ___________________________________________________
> >>
> >>     Jaison Kurian
> >>     Centre for Atmospheric and Oceanic Sciences
> >>     Indian Institute of Science
> >>     B A N G A L O R E   560 012
> >>     Ph: +91-80-3942505
> >>         +91-80-3600450
> >>     Fax:+91-80-3600865
> >> ___________________________________________________
> >>
> >>
> >
> >

-- 
=====================================================================
Dr. C. Shaji
School of Marine Science and Technology
University of Massachusetts Dartmouth
706 South Rodney French Blvd.
New Bedford, MA 02744-1221.
Phone: 508-910-6348 (O); 508-998-7347 (R),Fax: 508-910-6371.

To state the limitation of science is not to belittle it-M.K. Gandhi.
=====================================================================


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement