[Thread Prev][Thread Next][Index]
Re: scattered_vector.jnl
Hi Takaya,
The scattered_vectors script sets Ferret up to do an overlay
plot. After running it you need to issue a PLOT/OVERLAY
command, which the script coaches you on. First set up a plot
to overlay upon. When you run scattered_vectors, Ferret
quotes a command line for you to run, to actually plot the
vectors. I don't see the error message you are getting, but
these commands work for me:
yes? go basemap x=90:105 y=-5:15 5 gray
yes? go scattered_vectors driftconvert.txt 0.1
LISTing to file vector_commands.jnl
>> PLOT/VS/LINE/D=driftconvert.txt/@aros/OVERLAY arrow_x,arrow_y <<
yes? PLOT/VS/LINE/D=driftconvert.txt/@aros/OVERLAY arrow_x,arrow_y
Note the @AROS is a region that the script defines for the plot
command. You could add a "/TITLE=my_title" qualifier to the
PLOT command to put your own title for the vectors into the
vector key.
If you still see the error message, perhaps you could make a
copy of the script scattered_vectors, and replace the "cancel
mode verify" at the start, with a "set mode verify". Then we will
be able to see what command is failing.
It looks as if this script, and its companion centered_vectors.jnl,
could use some more documentation. We'll do that.
Ansley Manke
Namba Takaya wrote:
> Dear Sir
>
> I am running ferret5.4 under Linux.
> When I run the script, "scattered_vector.jnl",
> it does not work with the error
>
> **ERROR: command syntax: -
> - may not start an expression
>
> I guess that I need to modify the "scatterd_vector.jnl".
>
> Could you tell me how I should change it?
>
> my script(current.jnl) is quit simple
>
> !!!!!current.jnl!!!!!!!!
> file /var="lons,lats,uu,vv" driftconvert.txt !!! 1
> go scattered_vectors driftconvert.txt 0.1
> go fland 5 gray overlay
>
> (driftconvert.txt)
> 95.50, 0.50,-0.03, 0.09
> 96.50, 0.50,-0.06, 0.35
> 97.50, 5.50,-0.16,-0.20
> 99.50, 5.50,-0.07, 0.25
> 100.25, 2.85,-0.15,-0.04
> .
> .
> .
>
> Regards
>
> Takaya Namba
>
> _________________________________________________________________
> $B$-$C$H8+$D$+$k$"$J$?$N?75o(B $BITF0;:>pJs$O(B MSN $B=;Bp$G(B
> http://house.msn.co.jp/
--
Ansley Manke Pacific Marine Environmental Laboratory Seattle WA (206)526-6246
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement