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
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).
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
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
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
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
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
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
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
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
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|#
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
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
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:
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
15 matches
Mail list logo