sa6113 wrote:
> I want to use findobj attribute by this code,
>
> import matplotlib.pyplot as plt
> import matplotlib.text as text
> .
> .
> .
> fig = plt.figure()
> for t in fig.findobj(text.Text):
> t.set_family(somefamily)
>
> but I get this error :
> Figure instance has no attribute '
Hi,
I'm a light matplotlib user, and generally haven't had problems the
few times I've installed it. However, now I am.
I am building matplotlib (and a suite of python tools, including
python itself) on a big computer cluster. I don't have root access
and that's non-negotiable. I've compile
While using this code I get an error saying :
Figure instance has no attribute 'findobj'
I found that, I need a new version of mpl that install on python 2.4 and
higher but I used python 2.3 and I can't upgrade that. would you plz tell me
that may I accomplish that witout findobject?? How?
Th
Hi Jeff,
I have played a bit with Matplotlib since last week, and I may still have
some questions for you
I have masked my value array so it doesn't draw points under a certain
value, but doing this causes the colormap to rescale for the new values
I have tried to set a custom colormap but it is
De Pauw Antoine wrote:
> Hi Jeff,
>
> I have played a bit with Matplotlib since last week, and I may still have
> some questions for you
>
> I have masked my value array so it doesn't draw points under a certain
> value, but doing this causes the colormap to rescale for the new values
>
Antoine
I want to set font name to 'tahoma.ttf' this code work propely but is there
any way I don't want to use full path name in fname property.
import matplotlib.font_manager as fm
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(111)
ax.plot([1,2,3],
David J Strozzi wrote:
> Hi,
>
> I'm a light matplotlib user, and generally haven't had problems the
> few times I've installed it. However, now I am.
>
> I am building matplotlib (and a suite of python tools, including
> python itself) on a big computer cluster. I don't have root access
> and
Jeff,
In fact my satellite data is displaying clouds of various gases, and I dont
like the fact that "empty" places are left dark blue (I use jet reversed
cmap)
By masking data under a certain value, I isolate the clouds and then they
are in evidence
When I use vmin and vmax I'm able to avoid t
Hello,
I have a problem with polar plot, if i run the following code in
matplotlib 0.98.3, polar plot is drawing a extra circle to go from
angle -3.14159265 to angle 3.03753126. Is there a solution for this problem?
import numpy as np
from matplotlib.pyplot import figure, sh
You can just do
ax.legend(prop=fm.FontProperties('Tahoma'))
Cheers,
Mike
sa6113 wrote:
> I want to set font name to 'tahoma.ttf' this code work propely but is there
> any way I don't want to use full path name in fname property.
>
> import matplotlib.font_manager as fm
> import ma
Hi,
I am new to Python and trying to use Cell and its method
auto_set_font_size()
here is the code
"
def draw_Cell(self, lower, upper, node1, branch_name):
c = Cell(lower, upper[0]-lower[0], upper[1] - lower[1],
edgecolor='k', text = branch_name,
fa
--- On Tue, 9/9/08, David Goldsmith <[EMAIL PROTECTED]> wrote:
> eventually ... I'd like to do what John implies
> is possible, i.e., "invert" a cm back to its RGB
> table - John (or anyone) can you short-cut the learning
> process for me w/ a code example of how to do this? :-)
> Thanks!
>
> DG
On Tue, Sep 16, 2008 at 2:40 PM, David Goldsmith
<[EMAIL PROTECTED]> wrote:
> --- On Tue, 9/9/08, David Goldsmith <[EMAIL PROTECTED]> wrote:
>
>> eventually ... I'd like to do what John implies
>> is possible, i.e., "invert" a cm back to its RGB
>> table - John (or anyone) can you short-cut the lea
De Pauw Antoine wrote:
> Jeff,
>
> In fact my satellite data is displaying clouds of various gases, and I don’t
> like the fact that "empty" places are left dark blue (I use jet reversed
> cmap)
>
> By masking data under a certain value, I isolate the clouds and then they
> are in evidence
>
> W
Excellent, thanks!!!
DG
--- On Tue, 9/16/08, John Hunter <[EMAIL PROTECTED]> wrote:
> From: John Hunter <[EMAIL PROTECTED]>
> Subject: Re: [Matplotlib-users] 'Inverting' a colormap (was "Next problem:
> pixel-to-pixel alpha variation")
> To: [EMAIL PROTECTED]
> Cc: matplotlib-users@lists.sourcef
Hi there -
I'm using the latest stable pylab/matplotlib (0.98.3) via OS X 10.5.4. I am
plotting a simple array of data, and I'm getting some strange behavior when
I try to add a legend to the plot.
First, the plot without the legend:
f=figure(1)
title("Equilibrium Concentration vs. Equivalence R
To whom it may concern,
Please remove me from the email list.
Thanks!
Chris
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &
Charles,
The legend functions needs a sequence-type object (list,etc) not a
tuple as the second argument. The following should work:
f.legend(line1,['CO2'],loc=(0.8,0.8))
Not sure about the cursor issue, see if the above solves the problem.
You should be able to add a nu
On Tue, Sep 16, 2008 at 4:09 PM, charles reid <[EMAIL PROTECTED]> wrote:
> Hi there -
>
> I'm using the latest stable pylab/matplotlib (0.98.3) via OS X 10.5.4. I am
> plotting a simple array of data, and I'm getting some strange behavior when
> I try to add a legend to the plot.
> First, the plot
Thank you for the immediate and extremely helpful suggestions. Changing the
string to a tuple works great, and I did not think about using the "label"
keyword in plot. I think this will greatly simplify the plotting.
Thanks again for the "instant gratification". :)
Charles
==
The 2n
On Tue, 16 Sep 2008, charles reid apparently wrote:
> f.legend(line1,('CO2'),loc=(0.8,0.8))
('CO2') is a string not a tuple.
('CO2',) is a tuple.
hth,
Alan Isaac
-
This SF.Net email is sponsored by the Moblin Your Move De
Hi folks,
I would like to save preliminary figures for later processing and
refinement with matplotlib. Is there a way to save or pickle a figure
object and later reload it. Matlab has a feature like that and and I was
wondering if matplotlib has it too.
Thanks a lot,
Josef
--
Josef Kol
in matplotlib under 10.5 Mac OS X, if the event.key
is 'g' or 'l' then grid plotting ('g') or log plotting
('l') is turned on
is this a known bug? any workarounds?
J
-
This SF.Net email is sponsored by the Moblin Your Move D
On Tue, Sep 16, 2008 at 5:06 PM, Josef Koller <[EMAIL PROTECTED]> wrote:
> Hi folks,
> I would like to save preliminary figures for later processing and
> refinement with matplotlib. Is there a way to save or pickle a figure
> object and later reload it. Matlab has a feature like that and and I wa
On Tue, Sep 16, 2008 at 8:03 PM, James Schombert <[EMAIL PROTECTED]> wrote:
> in matplotlib under 10.5 Mac OS X, if the event.key
> is 'g' or 'l' then grid plotting ('g') or log plotting
> ('l') is turned on
>
> is this a known bug? any workarounds?
It's a feature, not a bug. Do you have a use ca
John Hunter wrote:
> On Tue, Sep 16, 2008 at 5:06 PM, Josef Koller <[EMAIL PROTECTED]> wrote:
>> Hi folks,
>> I would like to save preliminary figures for later processing and
>> refinement with matplotlib. Is there a way to save or pickle a figure
>> object and later reload it. Matlab has a featu
On Tue, Sep 16, 2008 at 9:00 PM, James Schombert <[EMAIL PROTECTED]> wrote:
> I'm switching from an old graphics package (PGPLOT) to matplotlib, and I
> prefer to use the graphics window to input commands (such as, a new
> file name) by typing at the bottom of the frame
>
> so if the file name, for
On Tue, Sep 16, 2008 at 3:06 PM, Josef Koller <[EMAIL PROTECTED]> wrote:
> Hi folks,
> I would like to save preliminary figures for later processing and
> refinement with matplotlib. Is there a way to save or pickle a figure
> object and later reload it. Matlab has a feature like that and and I wa
Hi Anthony,
> As you've already been told, you can't pickle/shelve mpl objects. Our
> solution to this is to have a native python shadow object that
> contains all the bits and pieces needed to create a figure, and always
> build the plots from these shadow objects. This gives us the
> advantage
On Tue, Sep 16, 2008 at 8:17 PM, Sebastien Binet
<[EMAIL PROTECTED]> wrote:
> Hi Anthony,
>
>> As you've already been told, you can't pickle/shelve mpl objects. Our
>> solution to this is to have a native python shadow object that
>> contains all the bits and pieces needed to create a figure, and
We have some experience maintaining persistent object storage over long
periods of time. The best solution we've found is to do something like
this:
- create a read/write method on each class. Every class that needs to be
stored must have this. This includes class you would store (eg Figure) an
Hello,
I have a problem with polar plot, if i run the following code in
matplotlib 0.98.3, polar plot is drawing a extra circle to go from
angle -3.14159265 to angle 3.03753126. Is there a solution for this
problem?
import numpy as np
from matplotlib.pyplot import figure, sh
32 matches
Mail list logo