Re: [Matplotlib-users] Python 2.6

2008-11-07 Thread Michael Droettboom
John Hunter wrote: > What say you other developers -- any major holdups? I think this bug is reasonably serious, if anyone wants to take a look at it. It affects PDF, PS, SVG as well as the Gtk and GtkCairo mentioned in the report. I've taken a kick at it a couple of times, but haven't found t

[Matplotlib-users] saving figures on OS X

2008-11-07 Thread Gideon Simpson
1. I find that the eps's generated, for whatever reason, do not automatically conform to something that Preview.app can open. it generates the error: PostScript Conversion Error The PostScript file "test.eps" could not be converted to a PDF file. However, the eps's are fundamentally there.

Re: [Matplotlib-users] [EMAIL PROTECTED]

2008-11-07 Thread TP
Michael Droettboom wrote: > Why are you turning autoscaling off and on? When you turn it off, the > autoscale mechanism effectively "ignores" any plots until you turn it > back on. If you remove > > gca().set_autoscale_on(False) > > all seems to work fine. > > Is your question that you want to a

Re: [Matplotlib-users] saving figures on OS X

2008-11-07 Thread Jouni K . Seppänen
Gideon Simpson <[EMAIL PROTECTED]> writes: > 1. I find that the eps's generated, for whatever reason, do not > automatically conform to something that Preview.app can open. it > generates the error: > > PostScript Conversion Error > The PostScript file "test.eps" could not be converted to a

Re: [Matplotlib-users] saving figures on OS X

2008-11-07 Thread Gideon Simpson
Verbose output attached: debug.out Description: Binary data -gideon On Nov 7, 2008, at 1:30 PM, Jouni K. Seppänen wrote: Gideon Simpson <[EMAIL PROTECTED]> writes: 1. I find that the eps's generated, for whatever reason, do not automatically conform to something that Preview.app can op

[Matplotlib-users] plot window does not open

2008-11-07 Thread Ashish Asgekar
Hello, I am running Python 2.5.2 on Fedora Core 7. recently removed previous versions of Scipy and Numpy (installed previously using YUM), and compiled and installed their latest versions using the source code. i also installed MatPlotLib from source. their versions are given below: Python 2.5.

Re: [Matplotlib-users] saving figures on OS X

2008-11-07 Thread Jouni K . Seppänen
Gideon Simpson <[EMAIL PROTECTED]> writes: > Verbose output attached: It looks like it is happening in dviread. Just to make sure this is the culprit, could you temporarily disable usetex in your matplotlibrc file and see if the error goes away? -- Jouni K. Seppänen http://www.iki.fi/jks

Re: [Matplotlib-users] plot window does not open

2008-11-07 Thread Michael Droettboom
I didn't see any error messages in your mail... You can determine the backend you're set to by doing: >>> import matplotlib >>> matplotlib.get_backend() 'GTKAgg' If it's 'PDF', 'Ps', 'SVG', 'Agg', or 'Cairo', it's a non-gui backend, and therefore no gui window will be displayed. This is usua

Re: [Matplotlib-users] saving figures on OS X

2008-11-07 Thread Gideon Simpson
yes that seems to work. there are no errors when i don't use the tex. -gideon On Nov 7, 2008, at 1:59 PM, Jouni K. Seppänen wrote: > Gideon Simpson <[EMAIL PROTECTED]> writes: > >> Verbose output attached: > > It looks like it is happening in dviread. Just to make sure this is > the > culprit,

[Matplotlib-users] plot_wireframe and Axes3D

2008-11-07 Thread Ryan Pavlovicz
Hi. I am currently using *plot_wireframe* to create 3D wireframe images. Is there any way to add a color gradient to these types of figures similar to the image in this link: http://www.gams.com/solvers/matlab.gif ? If this cannot be accomplished with the *plot_wireframe* function, is there an al

[Matplotlib-users] Where else to look when tick_label.set_fontsize isn't working

2008-11-07 Thread Joshua J. Kugler
With the help of John Hunter and Stan West, I got some of my tick labels sizing correctly. I have this chunk of code: for label in self.main_axes.get_xticklabels(): label.set_fontsize(self.xtick_labelsize) main_ticks = self.main_axes.get_yticklabels() sub_ticks = (self.sub_axes.get_yticklab

[Matplotlib-users] Land-Sea masks (mpl_toolkits.basemap)

2008-11-07 Thread Patrick Marsh
Greetings, I have global data that I would like to plot using mpl_toolkits.basemap. The catch is that I want to mask out all data over the ocean. I know there is a function to fill continents,map.fillcontinents(), but I can't seem to find one for filling oceans. Ideally, I want the oceans to sho

[Matplotlib-users] Several Functions, One plot (My Hello World)

2008-11-07 Thread sebasmagri
Hi... I'm new to the list and also to matplotlib. I'm writing a small program to draw oil well diagrams in a simple way in 2D. My problem is that I need to plot several functions into one figure, i.e., a vertical line, a circle segment and an oblicuous line in a continuous way. Every function or

Re: [Matplotlib-users] Where else to look when tick_label.set_fontsize isn't working

2008-11-07 Thread John Hunter
On Fri, Nov 7, 2008 at 7:51 PM, Joshua J. Kugler <[EMAIL PROTECTED]> wrote: > With the help of John Hunter and Stan West, I got some of my tick labels > sizing correctly. I have this chunk of code: > > for label in self.main_axes.get_xticklabels(): >label.set_fontsize(self.xtick_labelsize) > >

[Matplotlib-users] plot window does not open

2008-11-07 Thread Ashish Asgekar
Hi all, it appears that i needed to recompile MatPlotLib after installing the backend (WxPython, in my case). the basic plots appear now, it is time to solve new errors. thanks, ashish === Date: Sat, 8 Nov 2008 00:13:06 +0530 F

Re: [Matplotlib-users] Where else to look when tick_label.set_fontsize isn't working

2008-11-07 Thread Joshua J. Kugler
On Friday 07 November 2008, John Hunter said something like: > On Fri, Nov 7, 2008 at 7:51 PM, Joshua J. Kugler <[EMAIL PROTECTED]> wrote: > > With the help of John Hunter and Stan West, I got some of my tick > > labels sizing correctly. I have this chunk of code: > > > > for label in self.main_a