Hi Everyone

I think I'm being dumb but I have a set of 2d data (2d array) z
(100x100) which I need to plot - I have a nominal set of x and y
positions say:

x = linspace(0,100)
y = linspace(0,100)

Now the actual positions of the points in z are given by the following:

u,v = meshgrid(x,y)

phi = arctan2(v,u)
theta = arcsin(u/cos(phi))

so I have three 2d arrays (100x100) which describe the postion
(phi,theta) of the points in z

How do I go about plotting these say using imshow?

Cheers

Ross

-- 
Ross Williamson
University of Chicago
Department of Astronomy & Astrophysics
773-834-9785 (office)
312-504-3051 (Cell)

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to