Can you convert your radial coordinates to Cartesian coordinates and use
approach #2 here:
http://scipy.org/Cookbook/Matplotlib/Gridding_irregularly_spaced_data
Lorenzo Isella wrote:
> Hello,
> Sorry for this tread getting quite long, but I am not getting there yet.
> Online I found examples lik
Hello,
Sorry for this tread getting quite long, but I am not getting there yet.
Online I found examples like:
#! /usr/bin/env python
from pylab import *
x=arange(-2,2,0.1)
y=arange(-2,2,0.05)
X,Y=meshgrid(x,y)
z=exp(-(X*X + Y*Y)) + 0.6*exp(-((X+1.8)**2 + Y**2))
#contour(x,y,z,arange(0,1,0.1))
It sounds to me that you want to have a contour plot which takes as input
the r,theta, and T. I would suggest just
On 6/26/07, Lorenzo Isella <[EMAIL PROTECTED]> wrote:
Hello,
Thanks for your suggestion, but I still have a problem.
Maybe I did not make myself clear (or most likely I have a pro
Hello,
Thanks for your suggestion, but I still have a problem.
Maybe I did not make myself clear (or most likely I have a problem
about how to implement your suggestion): actually I have T=T(r,theta)
and I would like to make a 2D plot using colors such that one can see
that the domain where I am p
Hey,
That's quite simple. Assume your file containing the data is name
Data.dat and is in the same directory than your python script.
from pylab import *
from numpy import *
tab = load('Data.dat') #load the file
r = tab[:,0] #get the r coordinates
theta = tab[:,1] #get the theta coordinates
T
Dear All,
I am quite a newbie about Python and Pylab, but I am starting to like
the ease you can develop with using these tools.
I am interested in 2D radial plots (think for instance about the plot
of the temperature along the cross-section of a pipe).
I had a look at the tutorial online, in parti