[Thread Prev][Thread Next][Index]

Re: [ferret_users] vector on a single location

Hi Renato,
In order  to use the VECTOR command you need to have a grid, but that grid could be quite simple. It depends a bit on what you're plotting this on.  Are you overlaying it on some plot?

One idea is to just draw an arrow, with PLOT/VS/OVER commands - would that do what you want?  Here's a simple little example to show you the idea.  If this isn't what you're thinking about write back with more information about what you want to do.
yes? use etopo60
yes? fill rose  ! just as an underlay plot

! define locations for the shaft of the arrow.
yes? let xline = {340,354}
yes? let yline = {29,29}
yes? plot/nolabel/over/vs/line/thick/color=black xline,yline

! define locations for the headof the arrow.
yes? let xhead = {350,354,350}
yes? let yhead = {31,29,27}
yes? plot/nolabel/over/vs/line/thick/color=black xhead, yhead
You could define the points to draw this in whatever location and direction you want. This is a very non-general way to do this. Ferret can take care of the length and rotation of the vector automatically, but you would need to have vector components on a grid.


Renato Parkinson Martins wrote:
Dear all,
I'll would like a help on plotting a vector u,v on a single coordinate lon,lat, which is not gridded. Does anybody know a way for doing this?
Thank you very much.

[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement