For some fun I am trying to plot a surface representation of 2D image
where the height level corresponds to the intensity at each pixel. I
have been able to change the cmap but would like to assign the original
pixel colour values (Grayscale or RGB) to corresponding in the surface
plot. Is
Hi,
I have an array defined by 3 variables p(x,z,t). I would like to produce
a surface plot with colors defined by p and animate it. That is plot the
value of p at all x and z, over time (t). My code to get p is below but
I really have no idea how to plot this. Anyone know the best way to go
On Thu, Feb 23, 2012 at 10:14 AM, David Craig dcdavem...@gmail.com wrote:
Hi,
I have an array defined by 3 variables p(x,z,t). I would like to produce
a surface plot with colors defined by p and animate it. That is plot the
value of p at all x and z, over time (t). My code to get p is below
...@googlemail.com]
*Sent:* Monday, February 08, 2010 12:00 PM
*To:* Paul Hobson
*Cc:* matplotlib-users@lists.sourceforge.net
*Subject:* Re: [Matplotlib-users] Surface Plot
On 8 February 2010 17:37, phob...@geosyntec.com wrote:
Hey Ted,
I don't quite understand how you're getting the Z data below
Hi
I'd like to generate a surface plot using mplot3d. However, Z is not a
function of X and/or Y. It's just a set of scalar values. So, the following
doesn't work:
X = np.arange(2, 102, 2)
Y = np.arange(0, 15.15, 0.15)
X, Y = np.meshgrid(X, Y)
Z = f[2]
ax.plot_surface(X, Y, Z, rstride=1,
-
From: Ted Kord [mailto:teddy.k...@googlemail.com]
Sent: Saturday, February 06, 2010 1:05 PM
To: matplotlib-users@lists.sourceforge.net
Subject: [Matplotlib-users] Surface Plot
Hi
I'd like to generate a surface plot using mplot3d. However, Z is not a function
of X and/or Y. It's just a set
Hi Paul
This helped immensely. Thanks.
Ted
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and
On 8 February 2010 17:37, phob...@geosyntec.com wrote:
Hey Ted,
I don't quite understand how you're getting the Z data below. But if you
have 3D data in X, Y, and Z 1D-arrays, the griddata function should work for
you.
-users] Surface Plot
On 8 February 2010 17:37, phob...@geosyntec.commailto:phob...@geosyntec.com
wrote:
Hey Ted,
I don't quite understand how you're getting the Z data below. But if you have
3D data in X, Y, and Z 1D-arrays, the griddata function should work for you.
http://matplotlib.sourceforge.net
Hi
I'd like to generate a surface plot using mplot3d. However, Z is not a
function of X and/or Y. It's just a set of scalar values. So, the following
doesn't work:
X = np.arange(2, 102, 2)
Y = np.arange(0, 15.15, 0.15)
X, Y = np.meshgrid(X, Y)
Z = f[2]
ax.plot_surface(X, Y, Z, rstride=1,
hello
I have problems to plot surfaces like f(x,y)=x*y...
for example plot_surface([1,2,3], [4,5,6], [7,8,9]) doesn't work either...
I imported the following:
from numpy import *
import pylab as p
import matplotlib.axes3d as p3
does anybody have an advice?
--
Feel free - 5 GB Mailbox, 50
On 3/28/07, jens haemmerling [EMAIL PROTECTED] wrote:
I have problems to plot surfaces like f(x,y)=x*y...
for example plot_surface([1,2,3], [4,5,6], [7,8,9]) doesn't work either...
I imported the following:
from numpy import *
import pylab as p
import matplotlib.axes3d as p3
does
jens haemmerling wrote:
--
Message: 1
Date: Wed, 28 Mar 2007 12:39:05 +0200
From: jens haemmerling [EMAIL PROTECTED]
Subject: [Matplotlib-users] surface plot...
To: matplotlib-users@lists.sourceforge.net
Message-ID: [EMAIL
13 matches
Mail list logo