Help with creating a vector field plotter?

274 views
Skip to first unread message

Edison Orellana

unread,
Oct 16, 2013, 6:03:48 PM10/16/13
to tins...@googlegroups.com
Unfortunately, the nspire doesn't have built in functionality for plotting vector fields yet. I sat down to try and build one myself but there were so many hurdles to overcome that I didn't know how to proceed.

Some problems I ran into:
  • I can't figure out how to automate the input of a vector into the graphing program. The graphing program allows the insertion of vectors through Geometry>Points and Lines>Vector, but I don't know how to take a vector and automatically add it to the graph.
  • I don't know how to proceed in automating the creation of a list of vectors. If I had a list of vectors like: { [x,y], [x1,y1], [x2,y2]...} then I might be able to figure out a way to insert them into the graphing application.
  • How would I tell the graphing application where to put all the vectors?
Some other thoughts about how I might be able to achieve it:
  • Make a function that only calculates one component of the vector and then join the two later on. 
If you have any insight into how I might go about this without getting into having to code manually in LUA, I'd appreciate some help.

For clarity, this is the kind of thing I am trying to reproduce: http://goo.gl/ULwCjQ

John Hanna

unread,
Oct 16, 2013, 7:38:30 PM10/16/13
to tins...@googlegroups.com

The only way that I know of to get something graphed is to create a data set and then do a scatterplot. Here’s a snip of what you can do:

 

The graph on the right is a scatterplot with the second attribute chaged to ‘connected’. This method lacks the arrowtips. The void cells ( _ ) cause the connected scatterplot to ‘skip’ the connection from one point to the next. 

This is how my ‘shade between graphs’ file works.

 

Regards,

    John Hanna

     jeh...@optonline.net

     www.johnhanna.us

     T3 - Teachers Teaching with Technology

     "the future isn't what it used to be."

 


--
--
To post to this group, send email to tins...@googlegroups.com
To unsubscribe send email to tinspire+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com.au/group/tinspire?hl=en-GB?hl=en-GB
The tns documents shared by group members are archived at
https://sites.google.com/site/tinspiregroup/classroom-news/welcome-abouttime
 
---
You received this message because you are subscribed to the Google Groups "tinspire" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tinspire+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

image002.jpg
Reply all
Reply to author
Forward
0 new messages