[Matplotlib-users] Setting the Axis Limits in Mplot3D

2010-07-24 Thread Ted Kord
Hi I'm trying to set the axes limits in MPlot3d but the bits I'm trying to exclude still appear. I've done something like this: ax.set_xlim3d([340, 600]) ax.set_ylim3d([0, 14.0]) ax.set_zlim3d([0, 300]) but it still shows all the data from 0, 600 for the x-axis and 0 to 14 for the y-axis. Is th

Re: [Matplotlib-users] Plot moves while using the "Zoom to rectangle" button

2010-07-24 Thread Daniele Padula
I have exactly the same problem on a program that I'm writing. I attach a figure to show what I see. I run python 2.6.2, Matplotlib 0.99.1.1, OpenSUSE 11.2 64 bit. I thought that there was a problem with how I wrote the code since I'm a real beginner, but I'm "happy" to see that the problem is

[Matplotlib-users] plot_surface shading and clipping error

2010-07-24 Thread arsbbr
Hi, i'm trying to make a simple 3d plot of a cylinder with plot_surface. There are two problems in my output: 1) the shading, shading does not work on the cylindric shell and at the same time produces weird artifacts on the top cover. http://old.nabble.com/file/p29254649/cyl-shade-error.png 2)

Re: [Matplotlib-users] Setting the Axis Limits in Mplot3D

2010-07-24 Thread Reinier Heeres
Hi Ted, There is currently no clipping of data outside the visible region; I hope to implement this partly soon. For scatter plots it's not so hard, but for surfaces it's a bit more complicated. Regards, Reinier On Sat, Jul 24, 2010 at 11:51 AM, Ted Kord wrote: > Hi > > I'm trying to set the ax

[Matplotlib-users] tk development packages

2010-07-24 Thread Satish Raghunath
Hi, Can anyone please tell me about the tk development packages. Where can I find the tk development packages . Thanks! Satish -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phon

Re: [Matplotlib-users] Plot moves while using the "Zoom to rectangle" button

2010-07-24 Thread João Luís Silva
On 07/13/2010 02:31 AM, John Hunter wrote: On Mon, Jul 12, 2010 at 8:05 PM, John Hunter wrote: All of which is discouraging: we both see bugs but different ones on linux, the appearance of the bug is caused by adding a combobox which is not used (on my system), the bug appears on some platforms

Re: [Matplotlib-users] Plot moves while using the "Zoom to rectangle" button

2010-07-24 Thread Benjamin Root
On Sat, Jul 24, 2010 at 12:17 PM, João Luís Silva wrote: > On 07/13/2010 02:31 AM, John Hunter wrote: > >> On Mon, Jul 12, 2010 at 8:05 PM, John Hunter wrote: >> >>> All of which is discouraging: we both see bugs but different ones on >>> linux, the appearance of the bug is caused by adding a co

Re: [Matplotlib-users] tk development packages

2010-07-24 Thread Malte Dik
Hi, > Can anyone please tell me about the tk development packages. Where can I > find the tk development packages . This heavily depends on which operating system and distribution you are using. Always give as much info as you can about your system so others can help you. Have a nice day, M

Re: [Matplotlib-users] plot_surface shading and clipping error

2010-07-24 Thread Benjamin Root
On Sat, Jul 24, 2010 at 7:18 AM, arsbbr wrote: > > Hi, > i'm trying to make a simple 3d plot of a cylinder with plot_surface. > There are two problems in my output: > 1) the shading, shading does not work on the cylindric shell and at the > same > time produces weird > artifacts on the top cover.

Re: [Matplotlib-users] plot_surface shading and clipping error

2010-07-24 Thread arsbbr
Thank you for looking into it! It would be perfectly fine for me to merge the two objects, so that one surface_plot command will do it. Maybe someone can give me a hint how to accomplish that? I appreciate any tips. Benjamin Root-2 wrote: > > On Sat, Jul 24, 2010 at 7:18 AM, arsbbr wrote: >

Re: [Matplotlib-users] Plot moves while using the "Zoom to rectangle" button

2010-07-24 Thread John Hunter
On Sat, Jul 24, 2010 at 1:56 PM, Benjamin Root wrote: > On Sat, Jul 24, 2010 at 12:17 PM, João Luís Silva wrote: >> >> On 07/13/2010 02:31 AM, John Hunter wrote: >>> >>> On Mon, Jul 12, 2010 at 8:05 PM, John Hunter  wrote: All of which is discouraging: we both see bugs but different one

[Matplotlib-users] tk development and mpl

2010-07-24 Thread Satish Raghunath
Hi, Can anyone please tell me about the tk development packages. Where can I find the tk development packages . I am using the following operating system *Red Hat Enterprise Linux Client release 5.3 (Tikanga)* Also can anyone tell me about what mpl is ? Thanks! Satish ---

Re: [Matplotlib-users] plot_surface shading and clipping error

2010-07-24 Thread Benjamin Root
On Sat, Jul 24, 2010 at 2:46 PM, arsbbr wrote: > > Thank you for looking into it! > It would be perfectly fine for me to merge the two objects, so that one > surface_plot command will do it. > Maybe someone can give me a hint how to accomplish that? > > I appreciate any tips. > > > > Benjamin Roo

Re: [Matplotlib-users] tk development and mpl

2010-07-24 Thread Benjamin Root
On Sat, Jul 24, 2010 at 3:22 PM, Satish Raghunath wrote: > Hi, > Can anyone please tell me about the tk development packages. Where can I > find the tk development packages . > I am using the following operating system > > *Red Hat Enterprise Linux Client release 5.3 (Tikanga)* > > Also can anyo

[Matplotlib-users] matplotlib.test() no errors, but $nosetest matplotlib.tests -> errors and failure?

2010-07-24 Thread Adam
Hello, I have just updated to v1.0.0 and am trying to run the test suite to make sure everything is ok.  There seems to be two different suites and I am not sure which is correct/current: $python -c 'import matplotlib; matplotlib.test()' [...snipped output...] Ran 138 tests in 390.991s OK (KNOWNFA

[Matplotlib-users] plotting an array with gaps

2010-07-24 Thread mdekauwe
Hi, Is there a nice way to plot an array where there are say missing days and you wouldn't want the line to join over these data gaps, i.e. show the gaps. E.g. 1 4.5 2 4.6 4 6.7 8 5.7 9 1.2 The only way I could think to get around this involved appending NaNs and then masking the array, but I

Re: [Matplotlib-users] plotting an array with gaps

2010-07-24 Thread John Hunter
On Sat, Jul 24, 2010 at 4:26 PM, mdekauwe wrote: > > Hi, > > Is there a nice way to plot an array where there are say missing days and > you wouldn't want the line to join over these data gaps, i.e. show the gaps. > > E.g. > > 1 4.5 > 2 4.6 > 4 6.7 > 8 5.7 > 9 1.2 > > The only way I could think to

Re: [Matplotlib-users] Setting the Axis Limits in Mplot3D

2010-07-24 Thread Ted Kord
Ok. I'll look forward to that. Ted -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first

[Matplotlib-users] No module named _tkagg

2010-07-24 Thread Satish Raghunath
Hi, I am getting this error when using matplot . No module named _tkagg . Can anyone please tell me about this error and what does tkagg mean . Thanks! Satish -- This SF.net email is sponsored by Sprint What will you do

Re: [Matplotlib-users] No module named _tkagg

2010-07-24 Thread Benjamin Root
On Sat, Jul 24, 2010 at 8:08 PM, Satish Raghunath wrote: > Hi, > I am getting this error when using matplot . No module named _tkagg . Can > anyone please tell me about this error and what does tkagg mean . > Thanks! > Satish > > Satish, this error occurs if you build matplotlib from source wi

[Matplotlib-users] error AttributeError: 'module' object has no attribute 'use'

2010-07-24 Thread Satish Raghunath
Hi I am getting this error* File "aerialvision1.py", line 79, in import startup File "/home/satish/gpgpusim/gpgpu-sim_v2.1.1b/aerialvision/startup.py", line 68, in import guiclasses File "/home/satish/gpgpusim/gpgpu-sim_v2.1.1b/aerialvision/guiclasses.py", line 68, in matplotli