[Thread Prev][Thread Next][Index]

Re: [ferret_users] labels on postcript outpout



Hi Francois,
              If you follow the action commands like SHADE/FILL/PLOT/VECTOR
by PPL SHADE/FILL/PLOT/VECTOR command, then the action command should have
the "/SET_UP" qualifier like

     yes? FILL/SET_UP var
     yes? go remove_logo
     yes? PPL FILL

  So while making the plot (numbered as 4 in your mail) use

     yes? fill/SET_UP var; go remove_logo ; go unlabel 4; go unlabel 5; ppl fill

 Suppose you write all the commands you mensioned in your mail on to a jnl file
and then "go this.jnl" you will get the display and the ps output as you wished
(even if the FILL command doesnot have the /SET_UP qualifier). But when you
issue the commands interactively instead using a jnl file, since the "ppl fill"
doesn't succeded by a fill command with /SET_UP qualifier. I don't  know the
exact reason for this difference.


 Anyway, the above method (using /SET_UP with fill) will fix your problem.

 Regards,

 Jaison

On Tue, 15 Nov 2005, DELCLAUX Francois wrote:

Hi,

1) I presently use the following command for getting graphical outpout of
variable "var" with no labels (no logo)

yes? fill var; go remove_logo ; go unlabel 4; go unlabel 5;  ppl fill

2) The result is identical if I initialize viewport :

yes? define viewport/xlimits=0.0,0.9/ylimits=0.,0.8 v0 ; set v v0
yes? fill var; go remove_logo ; go unlabel 4; go unlabel 5;  ppl fill


3) now, I want to get a PS file, so I initialize with the attached script
ps.jnl and generate PS portrait file  with psp.jnl

yes? go ps
yes? fill var; go remove_logo ; go unlabel 4; go unlabel 5;  ppl fill
yes? go psp   x.ps

On the screen display and the x.ps file, there is no label: it's OK.

4) finaly, I integrate the viewport definition in the following way:

yes? go ps
yes? define viewport/xlimits=0.0,0.9/ylimits=0.,0.8 v0 ; set v v0
yes? fill var; go remove_logo ; go unlabel 4; go unlabel 5;  ppl fill
yes? go psp x.ps

In such a way, I  did not get label on screen display, but got labels on
x.ps PS file.


How can I do for not getting labels on display AND PS output file ?

Many thanks for your answer.

Francois DELCLAUX
------------------------------------------------------------
UMR HydroSciences Montpellier
Universite Montpellier II - Place Eugene Bataillon
Case courrier MSE
34095 Montpellier Cedex 5 FRANCE
http://www.hydrosciences.org/
mailto: delclaux@msem.univ-montp2.fr
Tel : (33) (0)4 67 14 90 11 Fax : (33) (0)4 67 14 47 74
------------------------------------------------------------


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement