Vector plot, sample length

View: New views
2 Messages — Rating Filter:   Alert me  

Vector plot, sample length

by Mathieu Peyréga :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I am using gnuplot in the following way :

plot a map background using a country coastline datafile.
plot a vector field at some latitude/longitude points on the map.
Up to the point, everything is ok...

My issue is to have a scaled sample for the vector field key...

e.g. : I want to display a sample with for example "5 cm" displayed next to it, and the displayed length match a "5 cm" vector on the map... (not on the screen of course)

What would be the better way to do that ?

Regards,

Mathieu
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gnuplot-info mailing list
Gnuplot-info@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-info

Re: Vector plot, sample length

by Thomas Sefzick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

set arrow 1 from xstart,ystart to xstart+dx,ystart+dy
set label 1 "5cm" at xstart+0.5*dx,ystart+0.5*dy

choose xstart,ystart to place the arrow at an appropriate place
and dx and dy to give the arrow length the required length.

Mathieu Peyréga wrote:
Hello,

I am using gnuplot in the following way :

plot a map background using a country coastline datafile.
plot a vector field at some latitude/longitude points on the map.
Up to the point, everything is ok...

My issue is to have a scaled sample for the vector field key...

e.g. : I want to display a sample with for example "5 cm" displayed next to it, and the displayed length match a "5 cm" vector on the map... (not on the screen of course)

What would be the better way to do that ?

Regards,

Mathieu
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gnuplot-info mailing list
Gnuplot-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuplot-info