Hi,
I tried to dig into the 3D code, and in fact, it is RegularPolyCollection
that seems to be incompatible with Axes3D. Axes3D uses _verts to create z
values, and it crashes when trying to figure out how to display it
(art3d.pylines 208-221). I don't know enough to correct it.
But I have
Hi,
I tried it again, and now it works like charm with numpy arrays. I do not
understand why it did not work before, but it works now, it's all that
matters :)
But 3D is another problem...
Matthieu
2007/3/14, Eric Firing [EMAIL PROTECTED]:
Matthieu Brucher wrote:
What version of mpl are
OK, I'm trying to the same but in 3D, and there, no documentaion.
I tried to launch axes3d.py to see exactly what I can do, but the example
file does not work. For instance, Axes3D takes two parameters for method
__init__ and only one is provided. Did someone test it ?
I'm trying to use
Matthieu Brucher wrote:
OK, I'm trying to the same but in 3D, and there, no documentaion.
I tried to launch axes3d.py to see exactly what I can do, but the
example file does not work. For instance, Axes3D takes two parameters
for method __init__ and only one is provided. Did someone test it
There may be, but all 3D plotting is shaky right now. The 3D code is
essentially unmaintained and unsupported.
Eric
Sad to hear this, I hope someone will enhance it :)
Matthieu
-
Take Surveys. Earn Cash. Influence the
Matthieu Brucher wrote:
I manage to do what I wanted to do, it was not that easy - the colours
were in an array I had to transform into an array of tuples, the
autoscale did not function, I had to put in the fig.subplot the correct
xlim and ylim -, but now it works like a charm.
Many
What version of mpl are you using?
The latest, I compiled it from the source as FC5 has a very old version -
can't update myself the distribution -
In recent versions, the collections should accept 2D numpy arrays as
well as any sequence of tuples (and several other possibilities).
On 3/9/07, Matthieu Brucher [EMAIL PROTECTED] wrote:
Hi,
I'm trying to plot a set of points, each point having a different color.
For the moment, I'm trying to do something like that :
for indice in range(0, points.shape[0]):
pl.plot(points[indice, 0], points[indice, 1], 'o', c =
Complete examples always help ince we have no way of knowing what the
points data structures look like, but I'll hazard a gues. The x and y
arguments to plot need to be sequences. Ie, something like
plot([0.5], [0.5], 'ro')
It can be inefficient to plot many separate points this way -- if
Thank you, I think thatthis will solve my problem :)
I didn't know this class existed.
Matthieu
2007/3/9, John Hunter [EMAIL PROTECTED]:
On 3/9/07, Matthieu Brucher [EMAIL PROTECTED] wrote:
What I have is a set of points in a numpy.array - for instance size
(2000,
2) -. What I have as well
10 matches
Mail list logo