Mr Guyer, Sorry
The question was very unclear.
I am using the trunk Version. My question is:
How do you make a CellVariable with for example cos(x) and sin(y) and draw a vector field (or any type of function)) to pass to the VectorViewer? Something in like this: (no need for any of the special effects or anything)
http://matplotlib.sourceforge.net/examples/pylab_examples/quiver_demo.html
Thanks
Tom

On Nov 17, 2008, at 9:51 AM, Jonathan Guyer wrote:



On Nov 15, 2008, at 3:19 PM, Thomas Cool wrote:

I was looking at the MatplotlibVectorViewer.py and am somewhat confused as to how it finds a U and a V from that data to input in the quiver.
Could someone help me?

What version of FiPy?

If trunk, then it's at:

http://matforge.org/fipy/browser/trunk/fipy/viewers/matplotlibViewer/matplotlibVectorViewer.py#L140

and if version 1.2, then it's at:

http://matforge.org/fipy/browser/branches/version-1_2/fipy/viewers/matplotlibViewer/matplotlibVectorViewer.py#L101

or

http://matforge.org/fipy/browser/branches/version-1_2/fipy/viewers/matplotlibViewer/matplotlibVectorViewer.py#L107

depending on the type of Variable.


What do you need help with?



Reply via email to