Allright, I have another comparison.
My simple hello.ps file produced by the svn MPL vs test_idl.ps (which has a
lot plots --only for test purposes.) file produced by IDL. When I converted
the ps file to pdf (using ps2pdf tool) it gets shinier.
http://ccnworks.googlecode.com/svn/trunk/hello.ps
ht
> So what is it you're trying to accomplish? Maybe there is a better way.
Well, I'm recursively iterating through the children of all objects,
starting at gcf() (and then picking up gca(), lines, axes, everything
that belongs to the plot), which is then parsed and a TikZ file is
spit out. I need t
On Tue, Jan 12, 2010 at 2:46 PM, Jae-Joon Lee wrote:
> On Mon, Jan 11, 2010 at 3:20 PM, Gökhan Sever
> wrote:
> > Another thing I noted in these images, Qt4Agg produced one looks much
> > prettier to my eyes than the PS. What could be causing the jiggly
> rendering
> > in the PS?
> >
>
> The ren
On Mon, Jan 11, 2010 at 3:20 PM, Gökhan Sever wrote:
> Another thing I noted in these images, Qt4Agg produced one looks much
> prettier to my eyes than the PS. What could be causing the jiggly rendering
> in the PS?
>
The rendering quality of the fonts depends on a lot of things.
And I think your
I'm afraid that there is not much I can help anymore.
Just in case, does the same error occur when my patch is not applied?
Is it an error or just a warning? If it is an error, can you post a
full traceback? I just want to know what step causes that.
Also, are you using the usetex mode? See if t
On Tue, Jan 12, 2010 at 12:21 PM, dugolo wrote:
> Basically, I would like to put ax1 on both fig1 and fig2 without having to
> repeat all of the code for plots on ax1.
>
The Axes instances in matplotlib can only have one parent figure,
i.e., the axes cannot be shared among different figures.
But
> -Original Message-
> From: dugolo [mailto:mad...@gmail.com]
> Sent: Tuesday, January 12, 2010 9:21 AM
> To: matplotlib-users@lists.sourceforge.net
> Subject: [Matplotlib-users] Re using a subplot on two different figures
>
>
> I apologize if this has been covered, but I couldn't find
Quoting Matthias Michler on 01/08/2010 08:00 AM:
> Hi Renato,
>
> I think you have to flip the x-axis of the left plot by for instance
> ax1 = subplot(121, xlim=(1, 0))
> and I think than hist(data, orientation='horizontal') or manually using
> barh-plots works fine.
>
> Kind regards,
> Matthias
I apologize if this has been covered, but I couldn't find it by searching.
I'm wondering how one might reuse a single subplot on two different figures.
Here's what I'm trying to do:
import matplotlib.pyplot as plt
fig1 = plt.figure()
fig2 = plt.figure()
ax1 = fig1.add_subplot(311)
#plot lots
> As for not being able to do "isinstance(gca(),
> matplotlib.axes.SubplotAxes)" -- I'm not sure that's a problem. It
> would help to understand the use case, but I suspect you either want
> "isinstance(gca(), matplotlib.axes.Axes)" or "isinstance(gca(),
> matplotlib.axes.SubplotBase)".
You
Matthias Michler wrote:
> I would expect that the case of the Subplot-objects is somehow singular and
> all other mpl-objects can be classified using type and isinstance, but I'm
> not an mpl-expert and maybe there are more special cases.
>
Yes. This weirdness came about because Subplot used
Hi Nico,
On Tuesday 12 January 2010 12:26:01 Nico Schlömer wrote:
> Well, I guess that's good enough for me. :)
Just to share my knowlegde with you: I found
In [18]: matplotlib.axes.Subplot.__bases__
Out[18]:
(,
)
That is the class 'matplotlib.axes.Subplot' was inherited from SubplotBase and
Well, I guess that's good enough for me. :)
It's a bit unfortunate that the type() function wouldn't spit out this
information, though. When for example iterating through the output of
get_children() (iterating through a list of objects of unknown classes
that is), would there be any other way (fu
Hi Nico,
If you're using IPython then you can do a cool trick. Say your your
instantiation is called var. You can type:
var?
and it'll spit out some info about the object, including what it's an instance
of. If you type
var??
it'll try to print out more detailed information.
Hope that helps
Hi Nico,
I'm sorry I cannot help you, but at least I'd like to share my findings with
you: I find the following statements to be true:
isinstance(gca(), matplotlib.axes.SubplotBase)
isinstance(gca(), matplotlib.axes.Subplot)
isinstance(gca(), matplotlib.axes.Axes)
but there is no class 'AxesSubpl
Hm.
print type( gca() )
print gca().__class__
print isinstance( gca(), matplotlib.axes.AxesSubplots)
yields
Traceback (most recent call last):
File "./testfunctions.py", line 13, in
print isinstance( a, matplotlib.axes.AxesSubplots)
AttributeError: 'module' object has no attribute 'Axes
Jae-Joon Lee wrote:
> When you check out the svn, please try to apply the patch attached.
>
> patch -p1 < ps_distiller.patch
>
> I hope this solves your problem.
>
Thanks again for quick response. I've got the svn version and applied
the patch. Now I get this error (with ps.usedistiller : xp
Hi list
I develop an application which used matplotlib and there is a problem on some
computers. When home directory is simple e.g.
C:/Documents and Settings/alex/.qgis/
all works, but when home directory path contains a dot, for example
C:/Documents and Settings/compase.UWW/.qgis/
I've get an
On Monday 11 January 2010, Nico Schlömer elucidated thus:
> quick question from a Python noob:
> Suppose I have an instance of an object of matplotlib, Is there any
> way to check on its type, e.g., whether it is an instance of
> matplotlib.axes.AxesSubplots?
Python's built-in 'isintance.'
isinst
19 matches
Mail list logo