|
From: Thomas S. <t.s...@fz...> - 2009-10-13 13:04:44
|
you may plot vectors: set xrange [0:pi] set yrange [0:pi] set zrange [0:1] set surface set hidden3d splot sin(x)*sin(y), '-' with vectors nohead 0.5 0.5 0.5 2.0 0.0 0.0 2.5 0.5 0.5 0.0 2.0 0.0 2.5 2.5 0.5 -2.0 0.0 0.0 0.5 2.5 0.5 0.0 -2.0 0.0 e WesM wrote: > > Thanks again Thomas > > Can the arrow command read its head and tail coordinates from a file? If > so would you show me > how to do that. > > > > Thomas Sefzick wrote: >> >> you may add arrows without heads: >> >> set xrange [0:pi] >> set yrange [0:pi] >> set samples 10 >> set arrow 1 from 0.5,0.5,0.5 to 2.5,0.5,0.5 nohead front >> set arrow 2 from 2.5,0.5,0.5 to 2.5,2.5,0.5 nohead front >> set arrow 3 from 2.5,2.5,0.5 to 0.5,2.5,0.5 nohead >> set arrow 4 from 0.5,2.5,0.5 to 0.5,0.5,0.5 nohead >> splot sin(x)*sin(y) with pm3d >> >> >> WesM wrote: >>> >>> Hi >>> >>> I have created a 3D surface plot of some data contained in a file. I >>> would like to add >>> to the plot a rectangle in 3d. How can I add lines (or better yet a >>> rectangle) to 3D >>> plots? >>> >> >> > > -- View this message in context: http://www.nabble.com/lines-in-3D-tp25864635p25872523.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |