Darren Dale <[EMAIL PROTECTED]> wrote: On Friday 14 September 2007 02:19:35 pm
fatuheeva wrote:
> Hello,
> I can successfully change the facecolor in a figure but when I try and save
> it to a file (jpg or png) the color goes away - the rest of the plot
> remains only the facecolor reverts to wh
On Friday 14 September 2007 02:19:35 pm fatuheeva wrote:
> Hello,
> I can successfully change the facecolor in a figure but when I try and save
> it to a file (jpg or png) the color goes away - the rest of the plot
> remains only the facecolor reverts to white. I have tried using GTK and
> GTKAgg.
Hello,
I can successfully change the facecolor in a figure but when I try and save it
to a file (jpg or png) the color goes away - the rest of the plot remains only
the facecolor reverts to white. I have tried using GTK and GTKAgg. I have
also tried changing the 'savefig' value in the RC file
Hello,
I noticed, that bar() with log=True plots very strange graphs. In fact,
the bars in this case grow from the bottom of the graph (I guess from
the value of log(+0), i.e. -∞). This way the relative height of the bars
says almost nothing about the value of data, because the bars are
higher, th
Christian Meesters <[EMAIL PROTECTED]>
writes:
> is it somehow possible to have a hatch in parts of the background, which
> would achieve something like this pseudo-parameter to axvspan
> pylab.axvspan(2, 10, hatch='//')?
Do you mean something like this?
In [34]: phi=pi*array((0,.2,.4,.6,.8,1,-
James Boyle <[EMAIL PROTECTED]> writes:
> I have not been able to figure out how to just make the first and
> last ytick labels vanish. [...]
> I thought that the following might work but this just makes all the
> labels disappear - my understanding is incomplete.
> ytl = a.get_yticklabels
> You want legend((bar1[0],bar2[0]), ('First','Second')). What happened
> was that matplotlib made a legend entry for two of the blue bars in
> bar1; it would have made six entries, but stopped because you only gave
> it two labels.
>
>
Dear Jouni,
thanks for all the answers.
Gianluca
---
Gianluca Santarossa
<[EMAIL PROTECTED]> writes:
> In this example, on my PC both the entries in the legend appear in blue
> color:
> legend((bar1,bar2), ('First','Second'))
You want legend((bar1[0],bar2[0]), ('First','Second')). What happened
was that matplotlib made a legend entry for two of t
Dear all,
I am an unexperienced matplotlib user, and I have a couple of questions
about adding a legend to a graph.
In this example, on my PC both the entries in the legend appear in blue
color:
#!/usr/bin/env python
import numarray as na
from pylab import *
labels = ["A", "B", "C"]
first = [