HP Forums
Vector Fields - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Vector Fields (/thread-2333.html)



Vector Fields - mkspence - 10-24-2014 10:59 PM

Is there an app/command for plotting vector fields like F(x,y) = <x,y> or F(x,y) = <y,x>?


RE: Vector Fields - Alberto Candel - 10-24-2014 11:44 PM

There is plotfield


RE: Vector Fields - mkspence - 10-27-2014 01:47 AM

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?


RE: Vector Fields - parisse - 10-27-2014 06:45 AM

Something like plotfield(5*[-y,x],[x=-1..1,y=-1..1])


RE: Vector Fields - Wes Loewer - 10-27-2014 03:11 PM

(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')


RE: Vector Fields - Stefan - 10-27-2014 08:51 PM

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/Storing-to-Geometry-App-variables-HP-Prime/td-p/6295215#.VE6uxh987VM

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