Re: [Matplotlib-users] compiling from svn on windows

2008-03-21 Thread Wayne E. Harlan
Chris: I have used cygwin to compile numpy and scipy svn versions for win XP on my old athlon system. I believe the scipy site has some detailed instructions. However, I have done a lot of compiling on my linux system and so that part was easy (configure, make, make install, etc) I don't kn

[Matplotlib-users] Zorder Problem with twinx()

2008-03-05 Thread Wayne E. Harlan
First, I apologize for the long script. It's if anyone wants to see the issue first hand. The problem is that when I use twinx() to plot two different functions on the same axes, the legend from the first part is overwritten by the grid lines of the second part (after the twinx() statement).

Re: [Matplotlib-users] segfault with Tkagg

2008-02-27 Thread Wayne E. Harlan
I have had a similar problem here with python-2.5.1, numpy-1.0.4 and mpl-0.91.2 all installed on my linux (from scratch) system. I reported this last year but ending in a dead end with no one being able to help. My --verbose-debug_annoying output seemed to indicate it had something to do with

Re: [Matplotlib-users] dashes and dpi?

2008-02-02 Thread Wayne E. Harlan
Mark Bakker wrote: > Yet here you claim that 1pt = 1/72 inch. > Is that always the case? Kind of. This is a typesetting measurement originally having nothing to do with computers, displays or graphics files. However at Wikipedia they say its definition has changed over time. http://en.wikiped

Re: [Matplotlib-users] Subplot Questions

2008-01-31 Thread Wayne E. Harlan
Eric: I have never seen any software which dealt with non uniform DPI settings, although that is always a possibility. And all the displays I have ever worked on/with have been the same for both H and V. ( I am a display engineer with over 25 years experience in CRT displays and a bit in flat

Re: [Matplotlib-users] Subplot Questions

2008-01-30 Thread Wayne E. Harlan
Alan: The figure size determines the eventual size of the figure where it will be displayed. You should set that with "figsize=(x,y)" before you actually plot. Then, and very importantly, you should set the DPI for the medium where you are viewing the figure. A computer display will probabl

Re: [Matplotlib-users] Margin are too wide

2007-10-17 Thread Wayne E. Harlan
First you should look at the axes() command with its arguments to control the boundaries of the plot area inside the figure. I always use this to maximize the use of the figure space. I'm not sure, though, whether this works with the kind of plot you want. Check it out. The other thing that

Re: [Matplotlib-users] Problem with .png files?

2007-10-08 Thread Wayne E. Harlan
gt; is shows up as 99.98 dpi in the GIMP. > > Cheers, > Mike > > Michael Droettboom wrote: >> I'll look into this. I actually made a similar fix on another >> project I used to work on... It should be theoretically possible, >> barring any roadblocks fro

Re: [Matplotlib-users] Problem with .png files?

2007-10-07 Thread Wayne E. Harlan
I would like to follow up on my first response to Bill. It probably should be a new thread, but I'll start here. When png files are saved with a DPI=300 argument, and I open them in the Gimp, the dpi is only 72 (default ?). As I understand it, the dpi setting in the graphics file tells the a

Re: [Matplotlib-users] Problem with .png files?

2007-10-07 Thread Wayne E. Harlan
Bill: I do not have that problem using mpl-0.90.1 or svn which I checked out and installed yesterday. I have gimp-2.2.17 and have no problems opening them on my linux system or my two XP systems at work. The issue I do find is that when I specify the DPI in the savefig command, it does not p

[Matplotlib-users] [Fwd: Re: CVS ?]

2007-10-06 Thread Wayne E. Harlan
Eric Firing wrote: > The TkAgg backend works on my system, stock ubuntu feisty with only > numpy and mpl from svn. tk/tcl is 8.4. > > Eric > Eric: My processor is a 32 bit Athlon from about 5 or 6 years ago. The Tkinter was built along with python and I did one particular sed: sed -i 's|#

Re: [Matplotlib-users] CVS ?

2007-10-03 Thread Wayne E. Harlan
well-tested together, at least for simple > plotting. > > That tends to throw suspicion on Tkinter/Tk/Tcl or one of mpl's > extension bits that is run with Tk. I'm not sure there are any in > this case. > > One way to narrow it down is to try another gui: gtk or q

Re: [Matplotlib-users] CVS ?

2007-10-03 Thread Wayne E. Harlan
Eric Firing wrote: Wayne, I'm stumped. Do you get a segfault only with the gui backend? Can you you do this: import matplotlib matplotlib.use('Agg') import pylab pylab.plot([1,2,3]) pylab.savefig('test.png') Eric OK, this worked. I have attached the test,png file that resulted. But

Re: [Matplotlib-users] CVS ?

2007-10-02 Thread Wayne E. Harlan
Eric Firing wrote: If a straightforward plotting sequence, such as one of the examples, does this, then it sounds like a broken installation, not a matplotlib bug. Based on your comment above, here are my particulars: 1) System is LinuxFromScratch recently built from their SVN book:

[Matplotlib-users] CVS ?

2007-10-01 Thread Wayne E. Harlan
I have a serious problem with my Linux installation of matplotlib. It segfaults after a very brief display of a plot window outline (no actual plot within it). Before presenting the details of my problem, I would like to download the latest CVS version to make sure this hasn't been fixed alre