On Tuesday 09 March 2010 21:10:49 Alex S wrote:
> Hmm I think I could do this with TextWithDash, but I can't manage to use
> it... I go:
>
> CumGasTxt = fig.text(0.5, 0.5, 'Cumulative Gas (MCF)', withdash=True)
>
> and it says "AttributeError: Unknown property withdash".
>
> I tried changing "fig"
Hi Jeff,
Thank you for looking at the code for me! It works perfect for the first image
but when it tries to do the second it errors out saying: "lon0 outside of range
of lonsin". Any idea why is that happening? Is it happening for you too?
Thanks,
Anton
Fro
All,
The linebuilder program on:
http://matplotlib.sourceforge.net/users/event_handling.html
Needs two extra lines, one at the beginning and one at the end. Their absence,
particularly the second one, can cause confusion.
import matplotlib.pyplot as plt
class LineBuilder:
def __init__(se
Here's a skeleton, for a series of lines that get darker and more
solid (from past to present, as I use it):
from itertools import cycle
grey_linestyles = cycle(map(lambda tu:
dict(zip(('color','dashes'),tu)),(('0.5',(4,1,1,1)),('0.4',(2,1)),
('0.3',(5,1,2,1)),('0.2',(4,1)),('0.1',(6,1)),('0
> Also, how is scipy imported? Just "form scipy import *" or something
> similar to numpy?
>
> I haven't been able to find this info online or in documents yet.
>
>
> Thanks,
>
> Andre
>
> Hi,
>
> Look in IPython/Shell.py to see how pylab option is being evaluated.
> And similarly in matplotlib/
On Tue, Mar 9, 2010 at 6:48 PM, Andre Walker-Loud wrote:
> Hi All,
>
> I am trying to understand exactly what the -pylab option does when I
> launch ipython -pylab - thought some folks here might know.
>
> For example, after executing
>
> ipython -pylab
>
> I can type either
>
> a = np.array([1.,1
Hi All,
I am trying to understand exactly what the -pylab option does when I
launch ipython -pylab - thought some folks here might know.
For example, after executing
ipython -pylab
I can type either
a = np.array([1.,10.])
OR
b = array([1.,10.])
are these both numpy arrays? And clearly, t
I need a figure containing color line plots to
be changed to grayscale, cycling through line
styles instead of colors. How?
Thanks,
Alan Isaac
PSI suppose I searched the web ineffectively on this,
but I did try.
--
Dow
I've become stuck on what seems to be an easy problem.
Can part of a patch or collection be masked or otherwise hidden?
I assumed that my_polygon.set_clip_path( patch ) where patch is a
patches.Polygon would do the trick.
Thanks,
-Erik
--
View this message in context:
http://old.nabble.com
Hmm I think I could do this with TextWithDash, but I can't manage to use
it... I go:
CumGasTxt = fig.text(0.5, 0.5, 'Cumulative Gas (MCF)', withdash=True)
and it says "AttributeError: Unknown property withdash".
I tried changing "fig" to "ax1", but although that doesn't spit out an
error, it d
On Tue, Mar 9, 2010 at 1:49 PM, Pribadi, Krishna
wrote:
>
> I know it's badly out of date...
>
> I'd like to embed it but I'm not quite sure where to begin...
>
> Do you think a simple solution like calling it from the system command line
> will open the plot in a new instance, so that the metada
Thanks for the report. I am able to reproduce it and am investigating
further.
As a workaround, you can set the rcParam 'ps.fonttype' to 42 (at the
expense of some file size).
Mike
Olle Engdegård wrote:
> Hi,
>
> This
>
> import pylab as pl
> pl.plot([3,6,3,7,3])
> pl.xlabel("Xlabel")
> pl.sa
I know it's badly out of date...
I'd like to embed it but I'm not quite sure where to begin...
Do you think a simple solution like calling it from the system command line
will open the plot in a new instance, so that the metadata GUI wont be hung up
by the show()? I'd have to pass the selecte
On Tue, Mar 9, 2010 at 1:23 PM, Chris Barker wrote:
> Pribadi, Krishna wrote:
>> Based on what I’ve been reading regarding MPL, it seems that the
>> matplotlib show() function causes another instance of a GUI loop to
>> remain suspended.
>
> right --don't use show(), in fact, don't use pylab for t
On Tue, Mar 9, 2010 at 2:23 PM, Chris Barker wrote:
> Pribadi, Krishna wrote:
>> Based on what I’ve been reading regarding MPL, it seems that the
>> matplotlib show() function causes another instance of a GUI loop to
>> remain suspended.
>
> right --don't use show(), in fact, don't use pylab for t
Ian Thomas wrote:
> I submitted some code to matplotlib-users last September to perform
> contouring of triangular grids. The posts and code can be found at:
>
> http://sourceforge.net/mailarchive/forum.php?thread_name=4AB3B95B.3090903%40noaa.gov&forum_name=matplotlib-users
>
> Like I wrote at t
Pribadi, Krishna wrote:
> Based on what I’ve been reading regarding MPL, it seems that the
> matplotlib show() function causes another instance of a GUI loop to
> remain suspended.
right --don't use show(), in fact, don't use pylab for the most part:
http://www.scipy.org/Cookbook/Matplotlib/Emb
On 2010-03-09 12:37 PM, Eric Firing wrote:
> Eric Firing wrote:
>> Tony S Yu wrote:
>>> On Mar 9, 2010, at 1:22 PM, John Hunter wrote:
>>>
On Tue, Mar 9, 2010 at 12:16 PM, Eric Firing wrote:
> Bizarre! I can reproduce it with python 2.6 (ubuntu 9.10) and mpl from
> svn. I have
Eric Firing wrote:
> Tony S Yu wrote:
>> On Mar 9, 2010, at 1:22 PM, John Hunter wrote:
>>
>>> On Tue, Mar 9, 2010 at 12:16 PM, Eric Firing wrote:
>>>
Bizarre! I can reproduce it with python 2.6 (ubuntu 9.10) and mpl from
svn. I have done a little grepping and other exploration, but ha
Hi,
We have been working on a python wx app GUI for finding and selecting metadata
(lots of lists and check boxes) from a test (that later fetches SQL
time-history data for further processing in LabView or elsewhere).
As an afterthought, we decided to add in a small function that would allow
pre
Tony S Yu wrote:
> On Mar 9, 2010, at 1:22 PM, John Hunter wrote:
>
>> On Tue, Mar 9, 2010 at 12:16 PM, Eric Firing wrote:
>>
>>> Bizarre! I can reproduce it with python 2.6 (ubuntu 9.10) and mpl from
>>> svn. I have done a little grepping and other exploration, but have
>>> completely failed t
Hi,
This
import pylab as pl
pl.plot([3,6,3,7,3])
pl.xlabel("Xlabel")
pl.savefig("test.eps")
gives me an unpleasant outfile with the backends GTK, GTKAgg, WXAgg, WX,
Agg, GDK and PS. It works fine only with Cairo and GTKCairo. I'm on trunk
and Ubuntu 8.04. All backends do fine for png.
It's ac
On Mar 9, 2010, at 1:22 PM, John Hunter wrote:
> On Tue, Mar 9, 2010 at 12:16 PM, Eric Firing wrote:
>
>> Bizarre! I can reproduce it with python 2.6 (ubuntu 9.10) and mpl from
>> svn. I have done a little grepping and other exploration, but have
>> completely failed to find where this change
John Hunter wrote:
> On Tue, Mar 9, 2010 at 12:16 PM, Eric Firing wrote:
>
>> Bizarre! I can reproduce it with python 2.6 (ubuntu 9.10) and mpl from
>> svn. I have done a little grepping and other exploration, but have
>> completely failed to find where this change is occurring.
>
>
>
> cboo
On Tue, Mar 9, 2010 at 12:16 PM, Eric Firing wrote:
> Bizarre! I can reproduce it with python 2.6 (ubuntu 9.10) and mpl from
> svn. I have done a little grepping and other exploration, but have
> completely failed to find where this change is occurring.
cbook imports locale -- may be implica
Enssle Carl Philipp wrote:
> Hallo.
>
> When importing string in python, "letters" are defined as follows:
>
> >>> import string
> >>> string.letters
> 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
>
> … whereas when importing matplotlib, the order of "letters" seems to be
> changed:
On Tue, Mar 9, 2010 at 11:28 AM, Enssle Carl Philipp
wrote:
> Hallo.
>
> When importing string in python, "letters" are defined as follows:
>
import string
string.letters
> 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
>
> … whereas when importing matplotlib, the order of "lette
Enssle Carl Philipp wrote:
Hallo.
When importing string in python, "letters" are defined as follows:
import string
string.letters
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
... whereas when importing matplotlib, the order of "letters" seems to be
changed:
import
Hey, no offense to the numpy developers! They are doing a great job and
the Python 3 support in the numpy 2.0 release is well worth the wait.
What I meant was that ATM there is no officially released numpy version
that one can use to build an official win-amd64 matplotlib binary (same
for any o
Hallo.
When importing string in python, "letters" are defined as follows:
>>> import string
>>> string.letters
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
... whereas when importing matplotlib, the order of "letters" seems to be
changed:
>>> import matplotlib
>>> string.letters
'ABC
I have uploaded the src and some binaries for the matplotlib 0.99.3
(stable branch) release candidate rc1 . This is a bugfix release that
contains at least one critical bugfix (the path.simplify bug) and
numerous other small fixes.
I built the OSX binaries on a 64 bit 10.6 python2.6 machine so I
Hello all,
I submitted some code to matplotlib-users last September to perform
contouring of triangular grids. The posts and code can be found at:
http://sourceforge.net/mailarchive/forum.php?thread_name=4AB3B95B.3090903%40noaa.gov&forum_name=matplotlib-users
Like I wrote at the time, if it is
Dear Jeremy,
I'm not sure but I think it may be the problem with ppc, cause this
architecture was dropped for Snow Leopard as far as I remember.
So just delete "-arch ppc" and try again.
In general you may try to use this description:
http://blog.hyperjeff.net/?p=160
I've tested it and it work
33 matches
Mail list logo