Hi,
I'm using surface_plot to view the results of solving the 2d wave equation.
It works fine (code is below) except I would like to add a color bar and
fix the limits on the vertical axis. When I add the color bar a new one is
added in every iteration instead of overwriting the previous one, anyon
Hello,
I have 2D array where each (x, y) cell represents the height of that point on
the Z axis (you can think of it as the map of some mountain chain).
I'd like to get the plot_surface() of this data. What I don't understand in
particular is the content of the X, Y ,Z array parameter in my par
On Wed, Aug 4, 2010 at 12:11 AM, Benjamin Root wrote:
> I have done some further research on this, and it appears to be a bug of
> some sort. Possibly the Locators are already made by the time the
> ax.set_xticks([]) is called and that function falls on deaf ears because the
> real xaxis is actua
On Mon, Jun 14, 2010 at 2:14 AM, Ola Skavhaug wrote:
> On Fri, Jun 11, 2010 at 4:50 PM, Benjamin Root wrote:
> > Ola,
> >
> > Just to make sure, have you tried "ax.set_xticks([])"?
>
> Yes, I have tried that, but without success. Looks like the tick-logic
> is overridden for 3d plotting. Or at l
Bump.
Is this possible using mplot3d?? I would, also like to turn off the ticks
and the tick labels.
skavhaug wrote:
>
> On Fri, Jun 11, 2010 at 4:50 PM, Benjamin Root wrote:
>> Ola,
>>
>> Just to make sure, have you tried "ax.set_xticks([])"?
>
> Yes, I have tried that, but without success
On Fri, Jun 11, 2010 at 4:50 PM, Benjamin Root wrote:
> Ola,
>
> Just to make sure, have you tried "ax.set_xticks([])"?
Yes, I have tried that, but without success. Looks like the tick-logic
is overridden for 3d plotting. Or at least, I cannot figure out how it
works.
Ola
> Ben Root
>
>
>
> On
Ola,
Just to make sure, have you tried "ax.set_xticks([])"?
Ben Root
On Fri, Jun 11, 2010 at 3:05 AM, Ola Skavhaug wrote:
> Hi,
>
> I'm trying to remove the xtickmarks and ytickmarks from a 3d plot,
> without any success.
>
> The example I experiment with is the following:
>
> from mpl_toolk
Hi,
I'm trying to remove the xtickmarks and ytickmarks from a 3d plot,
without any success.
The example I experiment with is the following:
from mpl_toolkits.mplot3d import axes3d
import matplotlib.pyplot as plt
fig = plt.figure()
ax = axes3d.Axes3D(fig)
X, Y, Z = axes3d.get_test_data(0.05)
cse
You might take a look at tvtk.mlab and mavayi.
http://www.scipy.org/Cookbook/MayaVi
On 8/14/07, Eric Firing <[EMAIL PROTECTED]> wrote:
> Kaushik Ghose wrote:
> > Hi Everyone,
> >
> > I vaguely remember a comment from a poster a short while back that
> > suggested that 3D support in matplotlib w
Kaushik Ghose wrote:
> Hi Everyone,
>
> I vaguely remember a comment from a poster a short while back that
> suggested that 3D support in matplotlib was not serious. I would like to
> ask what plans there are for 3D plotting support in this great library.
There are no plans. The topic keeps co
Hi Everyone,
I vaguely remember a comment from a poster a short while back that
suggested that 3D support in matplotlib was not serious. I would like to
ask what plans there are for 3D plotting support in this great library.
thanks!
-Kaushik
3D plotting in mpl is unmaintained, so I don't recommend relying on it
unless you can bring it up to date and maintain it.
After committing a bugfix to svn, the following works with svn mpl and
does something like what you want (but might not work with whatever
version of mpl you are using.)
2007/8/10, william ratcliff <[EMAIL PROTECTED]>:
>
> so it would be something like:
>
>
> c=numpy.array([[1,2,3],[0,0,4],[0,2,4]]), where the values in the array go
> from 0-255 and denote r,g,b values?
>
> Thanks!
I use floatting point values, don't know if integers work.
I thing that colormap c
Is there a way to choose the color map for doing scatter plots using
Axes3D? In the test_scatter() example in the class, there is a line
something like:
ax.scatter3D(xs,ys,zs, c='r')
I would like to plot points based on 3 dimensional coordinates specified by
xs,ys, zs, which works great. Howeve
Hi,
In fact, polt3D and plot3d are the same, IIRC.
the kwargs are exactly the same as plot or scatter, as those methods are
called inside plot3d ans scatter3d to make the plot.
You can use 'ro-', no sweat, it works like a charm - at least for me :) -
Matthieu
2007/4/12, belinda thom <[EMAIL PRO
> Hi Belinda,
>
> I've been playing with 3D plots and scatter plots in the past few days
> and I've been able to get them working. You should be able to pass in
> a c= parameter as you would for a normal 2d scatter plot. I've
> been doing this and it's working for me.
Interesting.
I'm on Mac OS X
Thanks for the input.
Its easy for me to patch my own machine, but for students in my class
who are using lab machines, its more difficult. Hopefully I can get
someone to upgrade the machines in the lab I'm using. (Its difficult
to get facilities people to agree to update coursework installs
On Apr 11, 2007, at 4:54 PM, belinda thom wrote:
> Hi,
>
> What kwargs are available for plot3D and scatter3D?
And what is the difference between plot3d and plot3D?
The former seems most "matlab" like, and was what I was looking for:
a way to plot individual points and/or curves in 3d using ma
Hi,
What kwargs are available for plot3D and scatter3D?
Thanks,
--b
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & busines
I also seem to have some other 3D plotting problems. Again, following
some of the demo/test advice in the cookbook, I tried things like
import pylab as p
import matplotlib.axes3d as P3
P3.test_surface()
and get errors (seems Axes3D needs a figure, no?).
I'm using matplotlib version 0.
Hi,
I'm having problems plotting two different kind of graphs on the same
3D figure. Was hoping for some pointers.
Here's some basic test code, to demonstrate what I'd like to be able
to do.
import copy
import pylab as P
import matplotlib.axes3d as P3
def test() :
[X,Y] = P.
> The colors come from the current colormap. You can go all out and
> make your own colormap and color based on index using your map. I
> don't know how to do that off the top of my head though.
The colors may come from the colormap, but how do they get assigned to
areas of the plot itself? T
The colors come from the current colormap. You can go all out and
make your own colormap and color based on index using your map. I
don't know how to do that off the top of my head though.
On 8/21/06, rich kowalczyk <[EMAIL PROTECTED]> wrote:
> I understand that 3D plotting is not fully working
I understand that 3D plotting is not fully working yet, but I have a
question that might be answerable anyway.
I can get a nice looking 3D plot of my data using
surf = ax3d.plot_surface(x, y, z)
but I can't control the colors used in the plot. I can do a
surf.set_array(ColorArray)
and the con
24 matches
Mail list logo