Re: [Matplotlib-users] mplot3d

2013-09-17 Thread Nils Wagner
Hi Ben, It works for me. Thank you very much ! Best wishes Nils On Tue, Sep 17, 2013 at 3:25 PM, Benjamin Root wrote: > > > > On Tue, Sep 17, 2013 at 4:25 AM, Nils Wagner wrote: > >> Hi all, >> >> How can I modify the grid linewidth and grid line color of an Axes3D >>

Re: [Matplotlib-users] mplot3d

2013-09-17 Thread Benjamin Root
On Tue, Sep 17, 2013 at 4:25 AM, Nils Wagner wrote: > Hi all, > > How can I modify the grid linewidth and grid line color of an Axes3D > object ? > is it possible to use white instead of gray for the background color ? > > The following snippet doesn't show the desired effect. > > from mpl_toolki

Re: [Matplotlib-users] mplot3d interactive shading

2013-01-21 Thread Thomas Sprinzing
done! https://github.com/matplotlib/matplotlib/issues/1692 cheers Thomas Am 21.01.2013 um 18:04 schrieb Benjamin Root: > Hi folks! > maybe you can point me in the right direction: > > I have a list of colour measurements in Lab-Space(stored in an h5 table). > Now, 3d-scatterplotting them w

Re: [Matplotlib-users] mplot3d interactive shading

2013-01-21 Thread Benjamin Root
On Mon, Jan 21, 2013 at 7:42 AM, Thomas Sprinzing < sprinz...@hdm-stuttgart.de> wrote: > Hi folks! > maybe you can point me in the right direction: > > I have a list of colour measurements in Lab-Space(stored in an h5 table). > Now, 3d-scatterplotting them was easy, also, assigning the correspondi

Re: [Matplotlib-users] mplot3d and daspect

2012-11-02 Thread Benjamin Root
On Fri, Nov 2, 2012 at 3:18 AM, Alexandr wrote: > Benjamin Root writes: > > > > > > > On Thu, Jun 9, 2011 at 10:13 AM, Benjamin Root ou.edu> > wrote: > > > > > > > > > > On Thu, Jun 9, 2011 at 6:25 AM, Richard Hofmeister 3jvuoyhyqgombxhyh7it0rnah6klm...@public.gmane.org> wrote: > > Hello mplot

Re: [Matplotlib-users] mplot3d and daspect

2012-11-02 Thread Alexandr
Benjamin Root writes: > > > On Thu, Jun 9, 2011 at 10:13 AM, Benjamin Root ou.edu> wrote: > > > > > On Thu, Jun 9, 2011 at 6:25 AM, Richard Hofmeister wrote: > Hello mplot3d specialists,I would like to change the aspect ratio of the 3d axes similar to matlab's functionality with daspect(

Re: [Matplotlib-users] mplot3d grid/axes

2012-09-23 Thread Brian J Mingus
Hey Ben, Here is the code I am using to generate this plot, in addition to an example input. It's basicaIlly a list of lists, where each inner list is a time series. Plotting a 3D time series as a 3D surface rectangle is probably a pretty common problem. It would be awesome if I didn't have to swi

Re: [Matplotlib-users] mplot3d grid/axes

2012-09-20 Thread Benjamin Root
On Thursday, September 20, 2012, Brian J Mingus wrote: > Hi all, > > I have managed to create a 3d plot with uneven aspect ratio via > auto_scale_xyz but I haven't yet figured out how to fix the grid. If you > could give me a pointer I would appreciate it. > > http://imagebin.org/index.php?mode=im

Re: [Matplotlib-users] mplot3d, set_aspect('equal') doesn't work

2011-07-04 Thread Benjamin Root
On Mon, Jul 4, 2011 at 11:58 AM, Nico Schlömer wrote: > Also, set_{x,y,z}lim3d() doesn't seem to influence the plot at all. ? > > --Nico > > > Do you have an example demonstrating this? Also, which version of matplotlib are you using? These functions should work as expected in version 1.0.1. B

Re: [Matplotlib-users] mplot3d, set_aspect('equal') doesn't work

2011-07-04 Thread Benjamin Root
On Mon, Jul 4, 2011 at 11:54 AM, Nico Schlömer wrote: > Hi all, > > this issue has come up before (see > > http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg14255.html > ) > and now it was me who got bitten by it: As far as I can see, for > mplot3d axes, it is not possible to s

Re: [Matplotlib-users] mplot3d, set_aspect('equal') doesn't work

2011-07-04 Thread Nico Schlömer
Also, set_{x,y,z}lim3d() doesn't seem to influence the plot at all. ? --Nico On Mon, Jul 4, 2011 at 6:54 PM, Nico Schlömer wrote: > Hi all, > > this issue has come up before (see > http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg14255.html) > and now it was me who got bit

Re: [Matplotlib-users] mplot3d and daspect

2011-06-09 Thread Richard Hofmeister
Thanks a lot, Ben!!! With using the mplot3d/pbaspect branch, my plot shows exactly what i asked for a few hours(!) ago. Nothing ugly here :) I'll keep track of that branch and can at least contribute by testing. Richard 2011/6/9 Benjamin Root > > > On Thu, Jun 9, 2011 at 10:13 AM, Benjamin Roo

Re: [Matplotlib-users] mplot3d and daspect

2011-06-09 Thread Benjamin Root
On Thu, Jun 9, 2011 at 10:13 AM, Benjamin Root wrote: > > > On Thu, Jun 9, 2011 at 6:25 AM, Richard Hofmeister < > richard.hofmeis...@io-warnemuende.de> wrote: > >> Hello mplot3d specialists, >> >> I would like to change the aspect ratio of the 3d axes similar to matlab's >> functionality with da

Re: [Matplotlib-users] mplot3d and daspect

2011-06-09 Thread Benjamin Root
On Thu, Jun 9, 2011 at 6:25 AM, Richard Hofmeister < richard.hofmeis...@io-warnemuende.de> wrote: > Hello mplot3d specialists, > > I would like to change the aspect ratio of the 3d axes similar to matlab's > functionality with daspect() or the 'dataaspectratio' property of 3d-axes. > In the end, t

Re: [Matplotlib-users] mplot3d and plot_surface: How to 'hide' objects inside the surface

2011-05-06 Thread Alexander Dietz
Hi Benjamin, thanks for your answer - I feared you would reply as you did. I will have a look at mayavi then. Thanks Alex On Fri, May 6, 2011 at 00:24, Benjamin Root wrote: > On Thursday, May 5, 2011, Alexander Dietz > wrote: > > Hi, > > > > I have the following situation. I have been foll

Re: [Matplotlib-users] mplot3d and ticks

2011-05-05 Thread Benjamin Root
On Sat, Apr 16, 2011 at 8:17 AM, Giovanni Luca Ciampaglia < junkie.dolp...@gmail.com> wrote: > Is there a way to control the distance between the axis label and the > tick labels with mplot3d.Axes3D? For small figure sizes they overlap and > I haven't found a way to fix that. My last resort was to

Re: [Matplotlib-users] mplot3d and plot_surface: How to 'hide' objects inside the surface

2011-05-05 Thread Benjamin Root
On Thursday, May 5, 2011, Alexander Dietz wrote: > Hi, > > I have the following situation. I have been following the example to create a > 3d surface, as explained here: > > http://matplotlib.sourceforge.net/examples/mplot3d/surface3d_demo2.html > > and I have altered the code slightly to plot a

Re: [Matplotlib-users] mplot3d ticklabels

2011-02-25 Thread Benjamin Root
On Fri, Feb 25, 2011 at 5:34 PM, Philipp A. wrote: > 2011/2/25 Philipp A. > > 2011/2/25 Benjamin Root >> >>> On Fri, Feb 25, 2011 at 8:09 AM, Philipp A. wrote: >>> hi, Axes3D from mpl_toolkits.mplot3d does not override set_*ticklabels. this bug

Re: [Matplotlib-users] mplot3d ticklabels

2011-02-25 Thread Philipp A.
2011/2/25 Philipp A. > 2011/2/25 Benjamin Root > >> On Fri, Feb 25, 2011 at 8:09 AM, Philipp A. wrote: >> >>> hi, >>> Axes3D from mpl_toolkits.mplot3d does not override set_*ticklabels. >>> this >>> bug

Re: [Matplotlib-users] mplot3d ticklabels

2011-02-25 Thread Philipp A.
2011/2/25 Benjamin Root > > > On Fri, Feb 25, 2011 at 8:09 AM, Philipp A. wrote: > >> hi, >> Axes3D from mpl_toolkits.mplot3d does not override set_*ticklabels. >> this >> bugis >> about the issue. >>

Re: [Matplotlib-users] mplot3d ticklabels

2011-02-25 Thread Benjamin Root
On Fri, Feb 25, 2011 at 8:09 AM, Philipp A. wrote: > hi, > Axes3D from mpl_toolkits.mplot3d does not override set_*ticklabels. > this > bugis > about the issue. > to get a crude replacement, i have to d

Re: [Matplotlib-users] mplot3d: disable z-sorting?

2011-01-06 Thread Benjamin Root
On Thu, Jan 6, 2011 at 11:47 AM, Benjamin Root wrote: > On Thu, Jan 6, 2011 at 12:57 AM, Sebastian Voigt wrote: > >> Am 06.01.2011 02:14, schrieb Benjamin Root: >> >> On Wed, Jan 5, 2011 at 6:15 PM, Sebastian Voigt wrote: >> >>> I've been running into the well known rendering problems with mpl

Re: [Matplotlib-users] mplot3d: disable z-sorting?

2011-01-06 Thread Benjamin Root
On Thu, Jan 6, 2011 at 12:57 AM, Sebastian Voigt wrote: > Am 06.01.2011 02:14, schrieb Benjamin Root: > > On Wed, Jan 5, 2011 at 6:15 PM, Sebastian Voigt wrote: > >> I've been running into the well known rendering problems with mplot3d's >> bar3d function. After two days of trying to get accept

Re: [Matplotlib-users] mplot3d: disable z-sorting?

2011-01-05 Thread Benjamin Root
On Wed, Jan 5, 2011 at 6:15 PM, Sebastian Voigt wrote: > I've been running into the well known rendering problems with mplot3d's > bar3d function. After two days of trying to get acceptable results > without success: Is it possible to simply disable z-sorting (whoops)? > > I want to generate stat

Re: [Matplotlib-users] [mplot3d] remove background

2010-11-30 Thread Benjamin Root
On Sun, Nov 28, 2010 at 7:48 PM, Jae-Joon Lee wrote: > If you want the whole background to disappear, simply call set_axis_off > method. > > ax.set_axis_off() > > To control the visibility of each element, use something like below. > > for axis in ax.w_xaxis, ax.w_yaxis, ax.w_zaxis: > for elt in

Re: [Matplotlib-users] [mplot3d] remove background

2010-11-28 Thread Jae-Joon Lee
If you want the whole background to disappear, simply call set_axis_off method. ax.set_axis_off() To control the visibility of each element, use something like below. for axis in ax.w_xaxis, ax.w_yaxis, ax.w_zaxis: for elt in axis.get_ticklines() + axis.get_ticklabels(): elt.set_visible(

Re: [Matplotlib-users] [mplot3d] remove background

2010-11-28 Thread Nicolas Pinto
Thanks for the quick reply Ben. Let me know how I can help. Regards, N On Sun, Nov 28, 2010 at 6:54 PM, Benjamin Root wrote: > On Sunday, November 28, 2010, Nicolas Pinto wrote: >> Dear all, >> >> I'm trying to get rid of the mplot3d background (in vain, see below), >> how can I do this? >> >>

Re: [Matplotlib-users] [mplot3d] remove background

2010-11-28 Thread Benjamin Root
On Sunday, November 28, 2010, Nicolas Pinto wrote: > Dear all, > > I'm trying to get rid of the mplot3d background (in vain, see below), > how can I do this? > > Thanks for your help. > > Best, > > Nicolas > > demo: > > from mpl_toolkits.mplot3d import axes3d, axis3d > import matplotlib.pyplot as

Re: [Matplotlib-users] mplot3d - ploting 3d triangular mesh model - need help

2010-11-12 Thread isolat
Hi Gael, it's exactly what I need ! thanks... Gael Varoquaux wrote: > > On Fri, Nov 12, 2010 at 07:49:49AM +, Ian Thomas wrote: >> please is there any one can tell me if it's possible in mplot3d to >> plot >> 3d >> triangular mesh model with a colormap different from �the Z

Re: [Matplotlib-users] mplot3d - ploting 3d triangular mesh model - need help

2010-11-12 Thread isolat
thanks Ian for your reply, It is a pity, because it is very useful to plot simulation result on irugular 3d grid. Ian Thomas-8 wrote: > > On 11 November 2010 12:41, isolat wrote: > >> >> hi all, >> please is there any one can tell me if it's possible in mplot3d to plot >> 3d >> triangular

Re: [Matplotlib-users] mplot3d - ploting 3d triangular mesh model - need help

2010-11-12 Thread Gael Varoquaux
On Fri, Nov 12, 2010 at 07:49:49AM +, Ian Thomas wrote: > please is there any one can tell me if it's possible in mplot3d to plot > 3d > triangular mesh model with a colormap different from �the Z variable. I > don't find example in tutorial for this. > thanks. >No

Re: [Matplotlib-users] mplot3d - ploting 3d triangular mesh model - need help

2010-11-11 Thread Ian Thomas
On 11 November 2010 12:41, isolat wrote: > > hi all, > please is there any one can tell me if it's possible in mplot3d to plot 3d > triangular mesh model with a colormap different from the Z variable. I > don't find example in tutorial for this. > thanks. > No, this is not possible. Support fo

Re: [Matplotlib-users] [mplot3d] change axis background color

2010-06-04 Thread Denis Laxalde
Le jeudi 03 juin 2010 à 11:41 -0400, Jae-Joon Lee a écrit : > On Wed, Jun 2, 2010 at 2:46 PM, Denis Laxalde wrote: > > That would indeed be a better approach. Can somebody points me to the > > particular methods/attributes to look at ? > > > > As far as I can see, there is no public methods/attri

Re: [Matplotlib-users] [mplot3d] change axis background color

2010-06-03 Thread Jae-Joon Lee
On Wed, Jun 2, 2010 at 2:46 PM, Denis Laxalde wrote: > That would indeed be a better approach. Can somebody points me to the > particular methods/attributes to look at ? > As far as I can see, there is no public methods/attributes. Can you file a bug so that Reinier (or others) can pick this up l

Re: [Matplotlib-users] [mplot3d] change axis background color

2010-06-02 Thread Denis Laxalde
On Wed, 02 Jun 2010 06:54:11 -1000, Eric Firing wrote: > On 06/02/2010 05:53 AM, Jae-Joon Lee wrote: >> On Wed, Jun 2, 2010 at 10:42 AM, Denis Laxalde wrote: >>> This is set in axis3d module (class Axis), by _AXINFO. >>> So far, I haven't found a way to modify colors/transparency but to edit >>> th

Re: [Matplotlib-users] [mplot3d] change axis background color

2010-06-02 Thread Eric Firing
On 06/02/2010 05:53 AM, Jae-Joon Lee wrote: > On Wed, Jun 2, 2010 at 10:42 AM, Denis Laxalde wrote: >> This is set in axis3d module (class Axis), by _AXINFO. >> So far, I haven't found a way to modify colors/transparency but to edit >> the latter file. Is this hard-coded or is there a way to modif

Re: [Matplotlib-users] [mplot3d] change axis background color

2010-06-02 Thread Jae-Joon Lee
On Wed, Jun 2, 2010 at 10:42 AM, Denis Laxalde wrote: > This is set in axis3d module (class Axis), by _AXINFO. > So far, I haven't found a way to modify colors/transparency but to edit > the latter file. Is this hard-coded or is there a way to modify this a > posteriori ? > > Cheers, > >    Denis

Re: [Matplotlib-users] [mplot3d] change axis background color

2010-06-02 Thread Denis Laxalde
This is set in axis3d module (class Axis), by _AXINFO. So far, I haven't found a way to modify colors/transparency but to edit the latter file. Is this hard-coded or is there a way to modify this a posteriori ? Cheers, Denis Le 02-06-2010, Benjamin Root a écrit : > Huh, how about that? I n

Re: [Matplotlib-users] [mplot3d] change axis background color

2010-06-01 Thread Benjamin Root
Huh, how about that? I never noticed that before. I wonder if that is a bug or if it is intentional? Ben Root On Tue, Jun 1, 2010 at 5:28 PM, Denis Laxalde wrote: > Hi Ben, > > Thanks for your answer. > Actually, options for savefig seem to only operate on 2D axes whereas > I'm trying to chan

Re: [Matplotlib-users] [mplot3d] change axis background color

2010-06-01 Thread Denis Laxalde
Hi Ben, Thanks for your answer. Actually, options for savefig seem to only operate on 2D axes whereas I'm trying to change the color of 3D axes (x,y,z) which, by default, have a grid with a gray background. I manage to remove the grid lines but not the background color. (My initial question was no

Re: [Matplotlib-users] [mplot3d] change axis background color

2010-06-01 Thread Benjamin Root
Denis, There are probably other ways, but the one that I know off the top of my head is done at the savefig() function. If you want to remove the background entirely, you can specify the keyword argument transparent=True. You can change the color using the facecolor keyword argument. You can spe

Re: [Matplotlib-users] mplot3d stays?

2010-02-28 Thread Friedrich Romstedt
Things become more and more complicated with time. I come up with four things to consider: First the ring I already mentioned is visualised in attachment Ring.png. A > C > B > A, no z sorting possible, because no linear order anymore. Second, the intersecting line may not always separate a trin

Re: [Matplotlib-users] mplot3d stays?

2010-02-27 Thread Ben Axelrod
s probably doing this for general polygons and handling the edges properly. But that should not be super hard. -Ben From: Friedrich Romstedt [friedrichromst...@gmail.com] Sent: Saturday, February 27, 2010 11:28 AM To: matplotlib-users Subject: Re: [Matplo

Re: [Matplotlib-users] mplot3d stays?

2010-02-27 Thread Friedrich Romstedt
http://www.friedrichromstedt.org/python/pyclip/a01.Zerteilung.pdf (It's unfortunately in german, but the graphics are self-explaining) A school mate working together with me on the project has worked that out. H = number of corners of the front triangle lying inside of the back triangle V = numbe

Re: [Matplotlib-users] mplot3d stays?

2010-02-26 Thread Friedrich Romstedt
> I also agree with Reinier.  I want my 3d plots to look as close as possible > to my 2d plots.  Because mplot3d uses so much of the same matplotlib core, > this is trivial.  As Friedrich mentioned, the mplot3d code is actually pretty > small.  To me, that is a great feature.   I found the mplot

Re: [Matplotlib-users] mplot3d stays?

2010-02-26 Thread Ben Axelrod
...@googlemail.com] Sent: Friday, February 26, 2010 12:01 PM To: matplotlib-users Subject: Re: [Matplotlib-users] mplot3d stays? Dear all, I don't know if creating full blown 3d library makes much sense. I think Reinier is right here that the current mplot3d creates quite satisfactory outcome with matpl

Re: [Matplotlib-users] mplot3d stays?

2010-02-26 Thread Jakub Nowacki
Dear all, I don't know if creating full blown 3d library makes much sense. I think Reinier is right here that the current mplot3d creates quite satisfactory outcome with matplotlib look-and-feel we all like. In general, there are 3d libraries/packages out there (VTK, Mayavi2 etc.), which do mos

Re: [Matplotlib-users] mplot3d stays?

2010-02-26 Thread Alan G Isaac
On 2/26/2010 3:04 AM, Friedrich Romstedt wrote: > I need a physical rendering engine with light > sources and reflectance/transmittance simulation http://en.wikipedia.org/wiki/POV-Ray ? Alan Isaac -- Download Intel® Par

Re: [Matplotlib-users] mplot3d stays?

2010-02-26 Thread Reinier Heeres
Dear all, One of the great advantages of the current mplot3d design is that it produces complete vector based graphics with the same look-and-feel as your 2d plots. Integration with OpenGL will certainly change this, as the rendering will always give you (as far as I know) a bitmap. I think this i

Re: [Matplotlib-users] mplot3d stays?

2010-02-26 Thread Friedrich Romstedt
2010/2/26 Gael Varoquaux : > What Eric was most probably talking about is the newer versions of > Mayavi, that we tend to call 'mayavi2', even though we are now up to > version 3, in particular the mlab interface: > > http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/mlab.html

Re: [Matplotlib-users] mplot3d stays?

2010-02-25 Thread Gael Varoquaux
On Fri, Feb 26, 2010 at 12:16:40AM +0100, Friedrich Romstedt wrote: > 2010/2/25 Eric Firing : > > Is it time for some re-thinking of the approach to 3-D?  I am a bystander, > > but I have the uneasy sense that trying to turn mplot3d into a first-class > > 3-D plotting tool may be a misapplication o

Re: [Matplotlib-users] mplot3d stays?

2010-02-25 Thread Friedrich Romstedt
2010/2/25 Eric Firing : > Is it time for some re-thinking of the approach to 3-D?  I am a bystander, > but I have the uneasy sense that trying to turn mplot3d into a first-class > 3-D plotting tool may be a misapplication of effort. Might the effort be > more productive if applied to mayavi, or bui

Re: [Matplotlib-users] mplot3d stays?

2010-02-25 Thread Eric Firing
John Hunter wrote: [...] > > It looks like we have enough 3D projects to justify a google summer of > code student. Would those of you with an interest in mplot3d and some > knowledge of the internals be interested in helping mentor a student? > http://www.mail-archive.com/matplotlib-de...@l

Re: [Matplotlib-users] mplot3d stays?

2010-02-25 Thread Friedrich Romstedt
2010/2/25 John Hunter : > We rely on plenty of C++ code so this isn't a problem for us. We would have > to write an interface layer but it shouldn't be too difficult. The harder > problem may be dealing tracking the interior vs the edges of the mesh, but > certainly not insurmountable. If you'd lik

Re: [Matplotlib-users] mplot3d stays?

2010-02-25 Thread John Hunter
On Feb 25, 2010, at 2:50 AM, Friedrich Romstedt wrote: > 2010/2/25 Reinier Heeres : >> Of course many 3D engines do this already, but the problem is always >> the integration. Is your engine python based and is the code (freely) >> available? I would be interested in taking a look. > > It's C

Re: [Matplotlib-users] mplot3d stays?

2010-02-25 Thread Friedrich Romstedt
2010/2/25 Reinier Heeres : > Of course many 3D engines do this already, but the problem is always > the integration. Is your engine python based and is the code (freely) > available? I would be interested in taking a look. It's C++ code :-( And nearly no comments :-(( I myself will need some time

Re: [Matplotlib-users] mplot3d stays?

2010-02-25 Thread Reinier Heeres
Hi Friedrich, Thanks for your message. On Thu, Feb 25, 2010 at 9:24 AM, Friedrich Romstedt wrote: > I have worked in highschool on a project "Beam tracing" where I had to > subdivide triangles from a certain point of view with z-ordering and with > such a subdivision how they are covered by the

Re: [Matplotlib-users] mplot3d stays?

2010-02-25 Thread Friedrich Romstedt
I have worked in highschool on a project "Beam tracing" where I had to subdivide triangles from a certain point of view with z-ordering and with such a subdivision how they are covered by the viewing beam. This means this engine you want to write already exists. See the following ascii graphics:

Re: [Matplotlib-users] mplot3d stays?

2010-02-25 Thread Reinier Heeres
Hi all, I'll mention again that I intend to continue supporting mplot3d, although help would be greatly appreciated. I think the z-ordering issues are in the end quite hard to tackle, especially since we can have different kinds of structures in a plot, e.g. polygons and lines (or rather: curves)

Re: [Matplotlib-users] mplot3d stays?

2010-02-22 Thread John Hunter
On Mon, Feb 22, 2010 at 10:01 AM, Ben Axelrod wrote: > John, your assesment of the problem is correct.  And I believe your suggested > solution is also correct.  Currently, each call to a mplot3d plot method is > treated independantly.  They get converted into custom PolyCollections which > eac

Re: [Matplotlib-users] mplot3d stays?

2010-02-21 Thread John Hunter
On Sun, Feb 21, 2010 at 4:02 PM, Ben Axelrod wrote: > I am not a MPL developer, You are now :-) > but I am using mplot3d quite heavily right now to support 3D plots for a > client of mine.  I have found many bugs and > lacking features which I require in the mplot3d library and have modified my

Re: [Matplotlib-users] mplot3d stays?

2010-02-21 Thread John Hunter
On Sun, Feb 21, 2010 at 7:15 PM, David Arnold wrote: > Hi, > > What prevents me from using mplot3d in the classroom is highlighted by the > following example. I believe the problem arises because each artist (ie each polygon, line or 3d text object) is rendered separately, and so there is no way

Re: [Matplotlib-users] mplot3d stays?

2010-02-21 Thread David Arnold
my client, I have a vested interest in seeing > mplot3d (with the above bug fixes) make it into a stable release of MPL. But > at the same time, I don't have a lot of spare time to spend on MPL > development. > > Thanks, > -Ben > > > From: John Hunter [jdh2...@gmail.com

Re: [Matplotlib-users] mplot3d stays?

2010-02-21 Thread Ben Axelrod
From: John Hunter [jdh2...@gmail.com] Sent: Sunday, February 21, 2010 12:19 PM To: Jakub Nowacki Cc: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] mplot3d stays? On Sun, Feb 21, 2010 at 8:20 AM, Jakub Nowacki wrote: > Hi, > > I have quite general qu

Re: [Matplotlib-users] mplot3d stays?

2010-02-21 Thread John Hunter
On Sun, Feb 21, 2010 at 8:20 AM, Jakub Nowacki wrote: > Hi, > > I have quite general question. Since mplot3d now back in matplotlib, the > question is: is it going to stay there? Or is it some test release? I was > just wondering cause sometimes I use 3d plotting and use Mayavi2 for that but >

Re: [Matplotlib-users] mplot3d bar3d errors

2010-01-27 Thread Derek Schuff
Thanks Reinier, Yes, upgrading to 0.99.1 seems to have fixed the problem. One slight oddity: the package I downloaded from the SF page linked at [2] had a filename of matplotlib-0.99.1.2.tar.gz however inside the tarball is a directory named matplotlib-0.99.1.1 and the PKG-INFO file also says 0.99

Re: [Matplotlib-users] mplot3d bar3d errors

2010-01-27 Thread Reinier Heeres
Hi Derek, I just tried your program with the latest svn version and that seems to work fine, so I'd suggest you try that as well [1]. It looks to me like the fix should be present in 0.99.1-2 too [2]. Please let me know if you still run into the same problem. Cheers, Reinier [1] http://matplotl

Re: [Matplotlib-users] mplot3d scatter3d marker sizes?

2010-01-20 Thread Matthias Michler
Hi Erik, I can reproduce your finding on my site. Maybe this kind of specifying the coloring is not yet fully supported. I think Reinier Heeres is the one how knows almost everything about mplot3D - maybe he can comment on this. Kind regards, Matthias On Wednesday 20 January 2010 00:14:39 Erik

Re: [Matplotlib-users] mplot3d scatter3d marker sizes?

2010-01-19 Thread Erik Tollerud
Apparently it wasn't recent enough - I updated to the latest svn and now they are sizing properly - thanks! Another oddity I've noticed, though - if I do ax.scatter3D(x,y,z,s=30*rand(20),c=rand(20)) I would expect to see the points colored based on a color map for the supplied scalar values. In

Re: [Matplotlib-users] mplot3d scatter3d marker sizes?

2010-01-18 Thread Matthias Michler
Hi Erik, with current svn I see markers of different size. What version of matplotlib you are using? Kind regards, Matthias On Monday 18 January 2010 21:38:25 Erik Tollerud wrote: > Is there a way to change the sizes of scatter plot markers for > mplot3d.Axes3D.scatter3d ? I do > > from mpl_too

Re: [Matplotlib-users] mplot3d: plot_surface() and contour on grid?

2009-12-12 Thread Nicolas Bigaouette
3:37 PM > > To: Matthias Michler > > Cc: matplotlib-users@lists.sourceforge.net > > Subject: Re: [Matplotlib-users] mplot3d: plot_surface() and contour on > > grid? > > > > Hi, > > > > I just committed a patch to do this in svn, also allowing for

Re: [Matplotlib-users] mplot3d: plot_surface() and contour on grid?

2009-12-11 Thread PHobson
t > Subject: Re: [Matplotlib-users] mplot3d: plot_surface() and contour on > grid? > > Hi, > > I just committed a patch to do this in svn, also allowing for contour > lines along other directions. >

Re: [Matplotlib-users] mplot3d: plot_surface() and contour on grid?

2009-12-11 Thread Matthias Michler
Hi Reinier, that looks great! Thanks a lot for all your effort! Kind regards, Matthias On Friday 11 December 2009 00:36:59 Reinier Heeres wrote: > Hi, > > I just committed a patch to do this in svn, also allowing for contour > lines along other directions. > > See the attached image for an exam

Re: [Matplotlib-users] mplot3d animations

2009-12-09 Thread Reinier Heeres
Hi, Animations of 3d scenes is a bit tricky, because set_data() functions for wireframe and surface plots are not available. However, you can still do it by creating new surfaces or wireframes every frame, and removing the old one. I've attached an example that does this and will be added to svn s

Re: [Matplotlib-users] mplot3d: plot_surface() and contour on grid?

2009-12-03 Thread Matthias Michler
Thanks a lot! Regards, Matthias On Wednesday 02 December 2009 17:10:54 Reinier Heeres wrote: > Hi Matthias, > > I have a similar patch lying around somewhere, and I will try to apply > it soon. I've been terribly busy lately, but I expect some nice > mplot3d enhancements in the very near future.

Re: [Matplotlib-users] mplot3d: plot_surface() and contour on grid?

2009-12-02 Thread Reinier Heeres
Hi Matthias, I have a similar patch lying around somewhere, and I will try to apply it soon. I've been terribly busy lately, but I expect some nice mplot3d enhancements in the very near future. Regards, Reinier On Wed, Dec 2, 2009 at 4:22 PM, Matthias Michler wrote: > Hi Andrew, > > do you have

Re: [Matplotlib-users] mplot3d: plot_surface() and contour on grid?

2009-12-02 Thread Matthias Michler
Hi Andrew, do you have any idea if the patch (or a part of it) may get a part of matplotlib-svn some day? Kind regards, Matthias On Friday 09 October 2009 23:25:28 Andrew Straw wrote: > Matthias Michler wrote: > > Hello list, > > > > I'm not an expert in axes3d, but in case the feature which Ni

Re: [Matplotlib-users] mplot3d: bar3d + colormap somehow?

2009-11-12 Thread Gael Varoquaux
On Wed, Nov 04, 2009 at 08:56:49PM +0100, qu...@gmx.at wrote: > I would like to make a mplot3d.bar3d plot where the colour indicates > the value of the element. Like: negative values blue, positive red, > zero green. From what i see i can only give all bars the same > color ... Is there a way arou

Re: [Matplotlib-users] mplot3d: plot_surface() and contour on grid?

2009-10-09 Thread Nicolas Bigaouette
Thanx all, Can it be used to do a projection not only on the xoy axis but also on the xoz and yoz? N 2009/10/9 Andrew Straw > Matthias Michler wrote: > > Hello list, > > > > I'm not an expert in axes3d, but in case the feature which Nicolas > requested > > is not possible in an easy manner up to

Re: [Matplotlib-users] mplot3d: plot_surface() and contour on grid?

2009-10-09 Thread Andrew Straw
Matthias Michler wrote: > Hello list, > > I'm not an expert in axes3d, but in case the feature which Nicolas requested > is not possible in an easy manner up to now, I propose an additional kwarg > for axes3d.Axes3D.contour. Something like *offset*. If offset is None the > z-values of the contou

Re: [Matplotlib-users] mplot3d bars3d demo

2009-09-17 Thread Michael Droettboom
The bug was fixed on the 0.99.x branch, not in 0.99.0 (which predates the fix). The fix should, however, make it into the forthcoming 0.99.1 release. Cheers, Mike Nicolas Bigaouette wrote: > I have reported that issue on the tracker at the end of July. You can > fin dit here: > http://sourcef

Re: [Matplotlib-users] mplot3d bars3d demo

2009-09-16 Thread Nicolas Bigaouette
I have reported that issue on the tracker at the end of July. You can fin dit here: http://sourceforge.net/tracker/?func=detail&atid=560720&aid=2830483&group_id=80706 It's supposed to be fixed in 0.99... are you sure you are using it? I remember trying it just after the bug was closed with an svn

Re: [Matplotlib-users] mplot3D plot_surface colors

2009-08-28 Thread Jeff Whitaker
Michael Droettboom wrote: > It's important to note that we're not, as far as I'm aware, > considering anything lighting or ray-tracing-like yet. I'm not sure > that Phong shading actually makes sense without doing that. The > Gouraud shading we're in the process of implementing uses only > ex

Re: [Matplotlib-users] mplot3D plot_surface colors

2009-08-27 Thread Michael Droettboom
It's important to note that we're not, as far as I'm aware, considering anything lighting or ray-tracing-like yet. I'm not sure that Phong shading actually makes sense without doing that. The Gouraud shading we're in the process of implementing uses only explicit colors specified in the plot,

Re: [Matplotlib-users] mplot3D plot_surface colors

2009-08-26 Thread Nicolas Bigaouette
Its great news that the 3D is receiving more polish :) After reading on wikipedia, wouldn't it be nicier to have Phong reflection[1] instead of Gouraud? Maybe it would be too hard, as the Gouraud seems to be implemented directly in Agg (from what others just said...) Anyway, just a suggestion ;)

Re: [Matplotlib-users] mplot3D plot_surface colors

2009-08-26 Thread Eric Firing
Reinier Heeres wrote: > Hi JJ, > > Thanks for the examples! I indeed suspected the anti-aliasing as well. > I'll include an option for linecolors = facecolors soon (probably this > weekend); it seems to be a good solution. No, not in general. There are two problems: it distorts the sizes and po

Re: [Matplotlib-users] mplot3D plot_surface colors

2009-08-26 Thread Michael Droettboom
Jae-Joon Lee wrote: > On Wed, Aug 26, 2009 at 6:22 AM, German Ocampo wrote: > >> Hello >> >> Are there some way to take out the gridlines from a surface in mplot3D >> and get a smooth colour change? >> >> > Micheal, > If my understanding is correct, we will see this artifacts even with > th

Re: [Matplotlib-users] mplot3D plot_surface colors

2009-08-26 Thread Reinier Heeres
Hi JJ, Thanks for the examples! I indeed suspected the anti-aliasing as well. I'll include an option for linecolors = facecolors soon (probably this weekend); it seems to be a good solution. After that I'll try to implement usage of the Gouraud shading, although I fear that this will not look nic

Re: [Matplotlib-users] mplot3D plot_surface colors

2009-08-26 Thread Jae-Joon Lee
On Wed, Aug 26, 2009 at 6:22 AM, German Ocampo wrote: > Hello > > Are there some way to take out the gridlines from a surface in mplot3D > and get a smooth colour change? > I think surface plot does not draw any gridlines by default (linewidth set to 0). Maybe you're referring the artifacts betwe

Re: [Matplotlib-users] mplot3D plot_surface colors

2009-08-26 Thread German Ocampo
Mike thanks for your answer. I will wait for this option. regards german On Wed, Aug 26, 2009 at 3:45 PM, Michael Droettboom wrote: > Smooth Gouraud shading on surface plots is being worked on, but is not yet > implemented. > > Mike > > German Ocampo wrote: >> >> Hello >> >> Are there some way

Re: [Matplotlib-users] mplot3D plot_surface colors

2009-08-26 Thread Michael Droettboom
Smooth Gouraud shading on surface plots is being worked on, but is not yet implemented. Mike German Ocampo wrote: > Hello > > Are there some way to take out the gridlines from a surface in mplot3D > and get a smooth colour change? > > Thanks > > German > > ---