Re: [Matplotlib-users] making subplots more square

2009-05-24 Thread Eric Firing
per freem wrote: > hi eric, > > i tried your suggestion but it still did not work. here's a code > snippet that demonstrates what i am trying to do: No, I'm still baffled. If you stack 3 subplots vertically in a figure 6 inches high, they are going to be small. You can fiddle with their siz

Re: [Matplotlib-users] Failure to build due to missing X?

2009-05-24 Thread Jouni K . Seppänen
"John R. Cary" writes: > $ python setup.py install --prefix=/d/facets/contrib > connect 173.8.244.121 port 6000: Connection timed out > X connection to foo.bar.com:12.0 broken (explicit kill or server shutdown). Try unsetting your DISPLAY environment variable, e.g. env DISPLAY= python setup.py

Re: [Matplotlib-users] making subplots more square

2009-05-24 Thread per freem
hi eric, i tried your suggestion but it still did not work. here's a code snippet that demonstrates what i am trying to do: import matplotlib.pyplot as plt from scipy import * my_fig = plt.figure(figsize=(7,6), dpi=100) plot_ax1 = plt.subplot(3,1,1) a = rand(100) b = rand(100) + rand() plt.sc

Re: [Matplotlib-users] Failure to build due to missing X?

2009-05-24 Thread John Hunter
On Sun, May 24, 2009 at 11:18 AM, John R. Cary wrote: > $ python setup.py install --prefix=/d/facets/contrib > > BUILDING MATPLOTLIB >            matplotlib: 0.98.5 >                python: 2.5.2 (r252:60911, Dec 15 2008,

[Matplotlib-users] Failure to build due to missing X?

2009-05-24 Thread John R. Cary
$ python setup.py install --prefix=/d/facets/contrib BUILDING MATPLOTLIB matplotlib: 0.98.5 python: 2.5.2 (r252:60911, Dec 15 2008, 17:11:36) [GCC 3.4.6 20060404 (Red Ha

Re: [Matplotlib-users] making subplots more square

2009-05-24 Thread Eric Firing
per freem wrote: > hi all, > > i have a series of subplots organized in a column (3x1). i noticed that > if i plot them then matplotlib tends to make the x-axis long and the > y-axis short, so the plot is really rectangular. how can i make it more > square? if i do: > > f = figure(figsize=(7,6

[Matplotlib-users] making subplots more square

2009-05-24 Thread per freem
hi all, i have a series of subplots organized in a column (3x1). i noticed that if i plot them then matplotlib tends to make the x-axis long and the y-axis short, so the plot is really rectangular. how can i make it more square? if i do: f = figure(figsize=(7,6), dpi=100) p1 = subplot(3,1,1) plot

[Matplotlib-users] x= / y= labels default format is wrong

2009-05-24 Thread Xavier Gnata
Hello all, I routinely work with images sizes > [1000,1000]. There is a slight annoying problem whatever the backend I use: Pixels coordinates default format is wrong. It does not make sense to display "x=1.42e+03,y=1.92e+03". Pixels coordinates should be formated *by default* as integers. Would

[Matplotlib-users] LineCollection and fill....

2009-05-24 Thread vehemental
Hi guys, I' m playing around with line collections, and I was wondering if it was possible to use fill with line collections? or maybe I would have to use PolyCollection? would it represents a big challenge to include that in Linecollection? (just to know if I could do it myself eventually) on