I am just installing Windows 7 Pro and I am running into a problem with
matplotlib.
When running e.g. barchart_demo.py I get an error that it can not find
msvcp71.dll (the dll is in C:\Python25) and I see the following exception.
Traceback (most recent call last):
File "barchart_demo.py", lin
Hello,
Not that I like asking the same question again and again, but I just
couldn't find a way to fix one annoyance on my figures when I use mathtex
formatted labels. Here is one example figure:
http://img14.imageshack.us/img14/4443/mathtex.png
# Set the label
host.set_ylabel(r"DMT CCN Concentra
It's a bug without an easy solution. Realistically, we probably need to
make two passes with the mathtext parser to determine spacing.
A workaround is to use the \hspace command:
r"[#/$cm^3\hspace{-0.3}$]"
Mike
On 10/23/2009 09:44 AM, Gökhan Sever wrote:
Hello,
Not that I like asking the
> From: Werner F. Bruhin [mailto:werner.bru...@free.fr]
> Sent: Friday, October 23, 2009 07:31
>
> I am just installing Windows 7 Pro and I am running into a
> problem with matplotlib.
>
> When running e.g. barchart_demo.py I get an error that it can
> not find msvcp71.dll (the dll is in C:\Py
Figured it out:
import matplotlib.mlab as mlab
import mpl_toolkits.gtktools as gtktools
formatd = dict(
x = mlab.FormatFloat(2),
y = mlab.FormatFloat(2)
)
r=mlab.csv2rec('file.csv',names=('X','Y'))
v=gtktools.rec2gtk(r,formatd=formatd)
for c in v.treeview.get_column
I think you misunderstood what I meant by proxy artist (I'm not sure
if this is a right choice of the word, as a matter of fact).
Again, PolyCollection instance that is returned by fill_between is not
supported by legend.
Therefore, you have to use other kind of artist (which I call proxy
artist)
Hi Stan,
Stan West wrote:
From: Werner F. Bruhin [mailto:werner.bru...@free.fr]
Sent: Friday, October 23, 2009 07:31
I am just installing Windows 7 Pro and I am running into a
problem with matplotlib.
When running e.g. barchart_demo.py I get an error that it can
not find msvcp71.d
Thanks Mike, that did the trick.
I was giving a space before units to make them look equal. Yours is much
neater.
Has this bug submitted on SF. I can go ahead a file one if not.
On Fri, Oct 23, 2009 at 9:57 AM, Michael Droettboom wrote:
> It's a bug without an easy solution. Realistically, w
Hi all,
Typing this (on ipython prompt with the relevant libraries imported)
x = linspace(0,1.0,500)
y = linspace(0,1.0,500)
xg,yg = meshgrid(x,y)
c = rand(len(x), len(y))
pcolor(xg,yg,c)
Makes the ipython process to grow to have about 400 Mb of resident
memory and it takes ages for the plot to
Hello,
One more figure and one more question.
http://img263.imageshack.us/img263/6454/labelrotation.png
I want to rotate the 2nd y-axis label "Air Temperature" upside down in other
words rotating 180 degree while A staying up. Unfortunately set_rotation
method is not available to a SubplotHost in
Teemu Ikonen wrote:
> Hi all,
>
> Typing this (on ipython prompt with the relevant libraries imported)
>
> x = linspace(0,1.0,500)
> y = linspace(0,1.0,500)
> xg,yg = meshgrid(x,y)
> c = rand(len(x), len(y))
> pcolor(xg,yg,c)
>
> Makes the ipython process to grow to have about 400 Mb of resident
Hello list. I am having trouble with an extraneous line drawn from my
last data point back to the first data point. I I don't quite know
why this is happening and was hoping someone could tell me what was
wrong. I have attached an example; the commands I used are copied
below.
Thanks,
Jeremy
The below line is supposed to work but it does not, which is a bug.
pary.axis["right"].label.set_rotation(270)
Meanwhile, use may use something like below,
pary.axis["right"].get_helper()._label_angles["right"]=270
Regards,
-JJ
On Fri, Oct 23, 2009 at 2:13 PM, Gökhan Sever wrote:
> Hel
If that symbol is included in any of the font (I don't know of any),
you can simply use them.
Or, you need to create your own path. There are a few ways to do it,
and I guess using scatter is one of the easiest.
zap0 = [[-1.,0.], [-0.5, 0.5], [0.,0.], [0.5,-0.5],[1.,0.]]
zap = zap0 + zap0[-
Thanks JJ,
I wonder when will I learn to fix my own rent :)
Glad to have you here always responding with a quick solution.
On Fri, Oct 23, 2009 at 4:46 PM, Jae-Joon Lee wrote:
> The below line is supposed to work but it does not, which is a bug.
>
> pary.axis["right"].label.set_rotation(270)
Your data repeat itself twice.
Please check your data and report back if you still see the problem.
Regards,
-JJ
On Fri, Oct 23, 2009 at 3:58 PM, Jeremy Conlin wrote:
> Hello list. I am having trouble with an extraneous line drawn from my
> last data point back to the first data point. I I d
On Fri, Oct 23, 2009 at 4:16 PM, Jae-Joon Lee wrote:
> Your data repeat itself twice.
> Please check your data and report back if you still see the problem.
> Regards,
Of course it does . Sorry for bothering the list with my
stupidity.
Jeremy
---
17 matches
Mail list logo