|
From: Thomas S. <t.s...@fz...> - 2009-07-06 13:51:04
|
l=1. plot 'datafile' using 1:2:(l*cos($3)):(l*sin($3)) with vectors use 'l' to adjust the length of the vectors. a.g.s.maxwell wrote: > > I have a data file with 3 columns (x,y,theta), and I have plotted a graph > of the x and y positions. Now I need to draw an arrow from each (x,y) to > (x+cos(theta),y+sin(theta)) which is easily done by typing in each point > separately but I will need to do it for up to 1000 points, so can anyone > help me with some code that will automatically assign an arrow to every > point on the graph according to the directions above? > > Thanks > -- View this message in context: http://www.nabble.com/Plotting-multiple-arrows-in-gnuplot-tp24354889p24355741.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |