|
From: Thomas S. <t.s...@fz...> - 2011-12-11 16:43:49
|
set xrange [-5:5] set yrange [-5:5] # only integer x-cordinates set samples 11 # only integer y-cordinates set isosamples 11 # we need data, so we use the special filename "++", which # produces x,y-pairs plot "++" using 1:2:1:(2.*$2) with vectors Soothfast wrote: > > The document gnuplot.pdf, as a means of learning gnuplot "from the ground > up," seems to be a lost cause. It's the first time, in ten years of > learning new programs, software and systems (and Java and FORTRAN), that > I've run up against a genuinely unreadable manual. It's main use for me > is to remind me of certain things I figured out before but need to freshen > up on after a week of disuse. > > So I'll have to learn things by example. I'm aware of the site > http://gnuplot.sourceforge.net/demo/. It's quite good for figuring out > how to come up with pretty pictures of scalar-valued functions and > surfaces, but now I want to be able to make simple vector fields. All > roads seem to lead to the same example: > http://gnuplot.sourceforge.net/demo/vector.html. But it's far too > complicated and has too many other extraneous things (whoop-de-doo contour > lines and other bells and whistles) for me to zero in on the code for > making a simple 2D vector field. > > Let F(x,y) = <x,2y> be the vector field that assigns to each point (x,y) > the vector <x,2y>, using the typical calculus text notation. What code, > minimally, will produce this vector field in the window [-5:5]x[-5:5] at > points with, say, integer coordinates? > > Also, IS there any decent book or website out there that helps explain > these things better? > -- View this message in context: http://old.nabble.com/Vector-Fields-tp32953675p32955838.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |