On Thu, Feb 14, 2008 at 9:17 AM, Alan G Isaac <[EMAIL PROTECTED]> wrote:
> On Thu, 14 Feb 2008, John Hunter apparently wrote:
> > import numpy as np
> > import matplotlib
> > matplotlib.use('Agg')
> > import matplotlib.pyplot as plt
...snip
> > fig.savefig('myplot.png', dpi=100)
> > plt.show(
Michael Droettboom wrote:
> You can call
>
>ax.apply_aspect()
>
> to do the aspect ratio calculations -- seems to work for me here with
> your example.
>
> The aspect ratio code has always felt like a bit of a black art to me
> (it's a seemingly "necessarily complex" piece of code). Maybe
Mark Bakker wrote:
> Hello -
>
> As reported in an earlier post, when setting aspect ratio, the axis
> limits don't get updated correctly it seems. Or maybe I have to make
> another function call. Very easy example:
>
> from pylab import *
> ax = subplot(211)
> plot([1,2,3])
> ax.set_aspect('eq
Alan G Isaac wrote:
> On Thu, 14 Feb 2008, Neal Becker apparently wrote:
>> Can matplotlib automatically choose line styles and/or
>> markers for a group of plots?
>
> http://matplotlib.sourceforge.net/matplotlibrc
>
> Although I prefer to pass in a dict of keyword arguments.
>
Not sure what yo
On Thu, 14 Feb 2008, Neal Becker apparently wrote:
> Can matplotlib automatically choose line styles and/or
> markers for a group of plots?
http://matplotlib.sourceforge.net/matplotlibrc
Although I prefer to pass in a dict of keyword arguments.
Cheers,
Alan Isaac
--
Can matplotlib automatically choose line styles and/or markers for a group
of plots?
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120
On Wed, Feb 13, 2008 at 2:16 PM, Jeff Whitaker <[EMAIL PROTECTED]> wrote:
> Evan Mason wrote:
> > Hi Jeff
> >
> > Here are the corners:
> >
> > lon_corners = N.array([-4.09300764,-35.76003475,-43.72330207,
> > -12.05627497])
> > lat_corners = N.array([41.90278813, 49.2136974, 14.7209971, 7.4100878
Hi,
On Thu, Feb 14, 2008 at 3:10 PM, Neal Becker <[EMAIL PROTECTED]> wrote:
> Is there a way for me to read/write data to/from matlab?
>
> I know nothing about matlab, but if I need a colleague to send me some data,
> what should I tell her about how to save it from matlab so that I can
> impor
On Thu, 14 Feb 2008, John Hunter apparently wrote:
> import numpy as np
> import matplotlib
> matplotlib.use('Agg')
> import matplotlib.pyplot as plt
> x, y = np.random.rand(2,100)
> fig = plt.figure()
> ax = fig.add_subplot(111)
> ax.plot(x, y, marker='o', linestyle='', markerfacecolor='green')
Is there a way for me to read/write data to/from matlab?
I know nothing about matlab, but if I need a colleague to send me some data,
what should I tell her about how to save it from matlab so that I can
import it into matplotlib/numpy?
---
On Thu, 14 Feb 2008, someone wrote:
> I want to draw an xy-plot using the " Backend Agg " of matplotlib.
http://matplotlib.sourceforge.net/leftwich_tut.txt>
hth,
Alan Isaac
-
This SF.net email is sponsored by: Microsoft
Interesting, I didn't even know about apply_aspect. And it does indeed work
for my case.
Any reason not to call that at the end of the set_aspect function? Eric
Firing probably knows.
I think the aspect ratio functionality is very cool.
You can set all kind of preferences, including an arbitrary a
You can call
ax.apply_aspect()
to do the aspect ratio calculations -- seems to work for me here with
your example.
The aspect ratio code has always felt like a bit of a black art to me
(it's a seemingly "necessarily complex" piece of code). Maybe someone
else can answer -- is there a reas
On Thu, Feb 14, 2008 at 5:26 AM, sa6113 <[EMAIL PROTECTED]> wrote:
> I want to draw an xy-plot using the " Backend Agg " of matplotlib.
> But I don't know how I must start ...
>
> Would you plz help me or send me an example code ??
import numpy as np
import matplotlib
matplotlib.use('Agg')
imp
I want to draw an xy-plot using the " Backend Agg " of matplotlib.
But I don't know how I must start ...
Would you plz help me or send me an example code ??
--
View this message in context:
http://www.nabble.com/Backend-Agg---problem%21-tp15478464p15478464.html
Sent from the matplotlib - users
Hello -
As reported in an earlier post, when setting aspect ratio, the axis limits
don't get updated correctly it seems. Or maybe I have to make another
function call. Very easy example:
from pylab import *
ax = subplot(211)
plot([1,2,3])
ax.set_aspect('equal',adjustable='datalim')
print ax.get_x
16 matches
Mail list logo