[Thread Prev][Thread Next][Index]
Re: Problem with labels
Hi all
Following is the answer by Ansle Manke that worked for my problem. My script
worked fine when called from an intermediate one call_script.jnl. The number
of labels was not a problem.
Thanks Ansley amd Mick
paco
El Martes, 26 de Octubre de 2004 18:40, escribió:
> Hi Paco,
> I'll answer you outside of the Users List until we find out
> what the answer is, and then post it back to the whole list.
> There is not an upper limit on the number of labels. The error
> indicates that Ferret somehow can't translate a command. It's
> as if the text @P422-10 has been separated from the rest of
> the command somehow.
>
> Are you using redirection to pass your script to Ferret? If you
> are running Ferret with a Unix command like
>
> > ferret -gif < myscript.jnl
>
> Here is a message from the archives describing what I think might
> be the problem
>
> http://ferret.pmel.noaa.gov/Ferret/Mail_Archives/fu_2003/msg00883.html
>
> An answer is to create a short go script which does nothing
> but call your script and exit. So you'd have a script with
>
> call_script.jnl:
>
> go myscript.jnl
> exit
>
> And then run it with
>
> > ferret -gif < call_script.jnl
>
> Ansley
>
> Francisco Pastor wrote:
> > Hi ferreters
> >
> > Working wkth Ferret 5.70 in Suse 9.1
> >
> > Is there a limit on the number of labels in a plot? I want to plot
> > a weekly temperature graph with this journal file
> >__________________________________________________
> >CANCEL MODE LOGO
> >file/var="hora2,vel,dir,temp,hr,u,v,sigv,sigd,vmax,tint,bat,precip"
> > data.dat let hora=i[i=1:1008:1]/6
> >go humedad7 hr (humedad7 is a modified version of left_yaxis_plot.jnl)
> >label/nouser 1.2,6.5,0,0,0.15 @SR@P4Humedad relativa
> >ppl aline 0,24,100,24,0
> >ppl aline 0,48,100,48,0
> >ppl aline 0,72,100,72,0
> >ppl aline 0,96,100,96,0
> >ppl aline 0,120,100,120,0
> >ppl aline 0,144,100,144,0
> >FRAME/FORMAT=GIF
> >quit
> >__________________________________________________
> >
> >and it seems to work creating the gif file.
> >
> >But I want to add a label for each day in the x axis. I tried to add
> >
> >label/nouser 0.60,-0.2,0,0,0.15 @SR@P4date7
> >label/nouser 1.72,-0.2,0,0,0.15 @SR@P4date6
> >label/nouser 2.84,-0.2,0,0,0.15 @SR@P4date5
> >label/nouser 3.96,-0.2,0,0,0.15 @SR@P4date4
> >label/nouser 5.08,-0.2,0,0,0.15 @SR@P4date3
> >label/nouser 6.20,-0.2,0,0,0.15 @SR@P4date2
> >label/nouser 7.32,-0.2,0,0,0.15 @SR@P4date1
> >
> >but then the script doesn't work. It gives this error output
> >
> >yes? quit
> > NOAA/PMEL TMAP
> > FERRET v5.70
> > Linux(g77) 2.4.20 - 06/28/04
> > 26-Oct-04 15:07
> >
> >yes? @P422-10
> > **ERROR: command syntax: @P422-10
> >yes? label/nouser 5.08,-0.2,0,0,0.15 @SR@P423-10
> >yes? label/nouser 6.20,-0.2,0,0,0.15 @SR@P424-10
> >yes? label/nouser 7.32,-0.2,0,0,0.15 @SR@P425-10
> >yes?
> >yes? FRAME/FORMAT=GIF
> >yes?
> >yes? quit
> >
> >and creates a completely wrong gif.
> >
> >This worked in Ferret 4.4 but now I can't find the point in v5.70.
> >
> > Any help would be greatly aprreciated, thanks in advance.
> >
> > Paco
--
___________________________________________________________________________________________________
Francisco Pastor
Meteorology department
Fundación CEAM
paco@ceam.es
http://www.gva.es/ceamet
http://www.gva.es/ceam
Paterna, Valencia, Spain
___________________________________________________________________________________________________
Usuario Linux registrado: 363952
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement