-28-11 10:55 AM
To: Mike Alger
Cc: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] 3D Data to 2d Plots
2011/1/28 Mike Alger mal...@ryerson.ca
Philip,
A few questions before I give one possible solution,
Does this plot need to be updated in real time
Philip,
A few questions before I give one possible solution,
Does this plot need to be updated in real time ? or is this plot to be done in
post processing?
if you can do the plots with post processing you should be able to use pcolor
function to do your tasks
and see if there is an improvement to be
made in the plot surface command
From: Pablo Angulo [mailto:pablo.ang...@uam.es]
Sent: June-16-10 9:07 AM
To: Mike Alger
Cc: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] color in plot3d
El 15/06/10 01:22, Mike Alger
][cs])
costmapout=np.array(costmapout)
surf.set_array(costmapout)
## do your show plot stuff here!!
Mike Alger
From: Pablo Angulo [mailto:pablo.ang...@uam.es]
Sent: June-11-10 7:04 AM
To: matplotlib-users@lists.sourceforge.net
Subject: [Matplotlib-users] color
Unfortunately i have not found such a function as of yet and the function
that sound close to it (aspect) only controls the windows aspect ratio
Fortunately there is a quick and dirty work around
I have found the following to be useful
Assuming you have X Y Z matrices made using meshgrid or
: John Hunter jdh2...@gmail.com
Date: Monday, November 30, 2009 11:26 pm
Subject: Re: [Matplotlib-users] Color in 3d plots
To: Mike Alger mal...@ryerson.ca
Cc: matplotlib-users@lists.sourceforge.net, Reinier Heeres rein...@heeres.eu
On Mon, Nov 30, 2009 at 8:06 PM, Mike Alger mal...@ryerson.ca wrote
Again thanks for taking your time to help me figure this out
Mike Alger
Code
def plot_surface(self, X, Y, Z, *args, **kwargs):
'''
Create a surface plot.
By default it will be colored in shades of a solid color,
but it also supports color
Z as long as it has the same dimensions
surf(X,Y,Z,C)
axis([-3 3 -3 3 -10 5])
Is this possible with matplotlib '0.99.1'
If so how do i go about doing this is there some sample code?
Mike Alger, M.A.Sc
mal...@ryerson.ca
the final commit?
I have attached the function in question for reference to save others from
digging down into their python directories
Again thanks for taking your time to help me figure this out
Mike Alger
Code
def plot_surface(self, X, Y, Z, *args, **kwargs