Re: [Matplotlib-users] xlabel getting chopped off

2009-03-05 Thread Daniel Soto
brilliant. that worked nicely. thanks ryan, drs On 5 Mar 2009, at 17:44, Ryan May wrote: > > > On Thu, Mar 5, 2009 at 6:24 PM, Daniel Soto > wrote: > i'm having a problem with an xlabel getting chopped off at the bottom > of a figure. > i've looked through

[Matplotlib-users] xlabel getting chopped off

2009-03-05 Thread Daniel Soto
i'm having a problem with an xlabel getting chopped off at the bottom of a figure. i've looked through the matplotlibrc parameters and can't find anything that addresses this. toying with the figure.subplot.* didn't seem to have an effect. how can i prevent this from happening? thx, drs

Re: [Matplotlib-users] error with ginput

2009-03-03 Thread Daniel Soto
> this seems to be because the default backend was set to something without a gui. i set backend to WXAgg and it works now. > -- > > Message: 7 > Date: Tue, 3 Mar 2009 16:44:41 -0800 > From: Daniel Soto > Subject: [Matplotlib-users] error with gi

[Matplotlib-users] error with ginput

2009-03-03 Thread Daniel Soto
hello, ginput isn't working for me right now but was when i was using 0.98.3. running the script below gives me the following traceback. anyone know what is going on? thx, drs > python -c "import matplotlib;print matplotlib.__version__" 0.98.5.2 > ./gaelInput.py Please click Traceback (most r

Re: [Matplotlib-users] sluggish pdfs with large data sets

2009-03-03 Thread Daniel Soto
th something like: > > data = data[::skip] > > where 'skip' is the number of data points to skip. > > Cheers, > Mike > > Daniel Soto wrote: >> thanks for the suggestion. i'm running 0.98.3 and have tried >> >> pdf.compression >> path.

Re: [Matplotlib-users] sluggish pdfs with large data sets

2009-03-03 Thread Daniel Soto
matplotlib import rcParam > rcParam['path.simplify'] = True > > or in your matplotlibrc file: > > path.simplify: True > > Hope that helps. The amount of reduction this produces is somewhat > data-dependent. > > Cheers, > Mike > > Daniel Soto w

[Matplotlib-users] sluggish pdfs with large data sets

2009-03-02 Thread Daniel Soto
hello, i'm using matplotlib on os x and am having issues with plots of large data sets. i have some plots which contain about ~1 points and the pdf files generated bring preview.app and quicklook to their knees when they open the pdf files. here is a small file that reproduces my issue

[Matplotlib-users] upgrading matplotlib within EPD

2009-02-25 Thread Daniel Soto
does anyone know how to upgrade the matplotlib package that ships with the enthought python distribution? the current enthought release matplotlib is 0.98.3 and i'd like to upgrade to 0.98.5. i'm on an os x intel platform running leopard. thank you, d

[Matplotlib-users] ginput then show causes segfault

2009-02-22 Thread Daniel Soto
i'd like to plot some data, get user input, and then plot the original data and user input. when i try to show() the data i get a segfault after about ten seconds. any clue what i'm doing wrong? using mac os x 10.5 with enthought distribution. thanks, drs #!/usr/bin/env python import py

[Matplotlib-users] ginput then show causes segfault

2009-02-21 Thread Daniel Soto
i'd like to plot some data, get user input, and then plot the original data and user input. when i try to show() the data i get a segfault after about ten seconds. any clue what i'm doing wrong? using mac os x 10.5 with enthought distribution. thanks, drs #!/usr/bin/env python import py