[Matplotlib-users] 3d plotting

2012-03-18 Thread David Craig
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

[Matplotlib-users] 3D plotting

2011-12-13 Thread Martella, C.
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

Re: [Matplotlib-users] 3d plotting without ticklabels

2010-08-03 Thread Jae-Joon Lee
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

Re: [Matplotlib-users] 3d plotting without ticklabels

2010-08-03 Thread Benjamin Root
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

Re: [Matplotlib-users] 3d plotting without ticklabels

2010-07-31 Thread skorpio11
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

Re: [Matplotlib-users] 3d plotting without ticklabels

2010-06-14 Thread Ola Skavhaug
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

Re: [Matplotlib-users] 3d plotting without ticklabels

2010-06-11 Thread Benjamin Root
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

[Matplotlib-users] 3d plotting without ticklabels

2010-06-11 Thread Ola Skavhaug
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

Re: [Matplotlib-users] 3D plotting support

2007-08-14 Thread Tom Denniston
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

Re: [Matplotlib-users] 3D plotting support

2007-08-14 Thread Eric Firing
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

[Matplotlib-users] 3D plotting support

2007-08-14 Thread Kaushik Ghose
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

Re: [Matplotlib-users] 3D plotting?

2007-08-10 Thread Eric Firing
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.)

Re: [Matplotlib-users] 3D plotting?

2007-08-10 Thread Matthieu Brucher
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

[Matplotlib-users] 3D plotting?

2007-08-10 Thread william ratcliff
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

Re: [Matplotlib-users] 3D plotting lines / markers / colors question

2007-04-13 Thread Matthieu Brucher
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

Re: [Matplotlib-users] 3d plotting question

2007-04-11 Thread belinda thom
> 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

Re: [Matplotlib-users] 3d plotting question

2007-04-11 Thread belinda thom
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

Re: [Matplotlib-users] 3D plotting lines / markers / colors question

2007-04-11 Thread belinda thom
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

[Matplotlib-users] 3D plotting lines / markers / colors question

2007-04-11 Thread belinda thom
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

Re: [Matplotlib-users] 3d plotting question

2007-04-11 Thread belinda thom
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.

[Matplotlib-users] 3d plotting question

2007-04-11 Thread belinda thom
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.

Re: [Matplotlib-users] 3d Plotting

2006-08-22 Thread rich kowalczyk
> 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

Re: [Matplotlib-users] 3d Plotting

2006-08-21 Thread Charlie Moad
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

[Matplotlib-users] 3d Plotting

2006-08-21 Thread rich kowalczyk
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