HP Forums

Full Version: Vector Fields
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there an app/command for plotting vector fields like F(x,y) = <x,y> or F(x,y) = <y,x>?
There is plotfield
plotfield appears as though it plots the slope/derivative of a function. I want to plot a vector field such as F(x,y) = <y,x> which plots as a counter clockwise rotation. Is there some way to do that with plotfield?
Something like plotfield(5*[-y,x],[x=-1..1,y=-1..1])
(10-27-2014 06:45 AM)parisse Wrote: [ -> ]Something like plotfield(5*[-y,x],[x=-1..1,y=-1..1])

I find the 'normalize' option very helpful in making it look "nice."
plotfield(-x/y,[x = -1 .. 1,y = -1 .. 1],'normalize')
Hi mkspence,
A while ago I wanted to do the same. I didn't like the plotfield command very much either so I started to program something on my own. Look in this thread on the HP support forum:
http://h30499.www3.hp.com/t5/Calculators...E6uxh987VM

The program is usable, but I never completed it really. But maybe its something from where you can start.
Reference URL's