Hi,
I am new to matplotlib and having trouble running a simple example, which I
found on one of the tutorial pages:
import matplotlib.pyplot as plt
plt.plot([1,2,3])
plt.ylabel('some numbers')
plt.show()
The problem I encounter is that no plot actually shows up when I run the above
sequence on
Hello,
pywcsgrid2 is my personal project to display astronomical fits images
using matplotlib.
While there are other tools, my approach is to extend the capability
of the matplolib, rather than building something new on top of it.
pywcsgrid2 provides a custom Axes class (derived from the matplotl
Hi, I have a collection, which is a scatter plot, and I want to
iterate through all the elements in this collection and retrieve their
properties, like facecolor.
the scatterplot is created like this:
axes.scatter(x,y, c=some_list, cmap=plt.get_cmap(colmap))
many thanks
--
Carlos Henrique Groh
Florian Leitner wrote:
> Hi; I've got a rather simple question. I want to (color) fill a step
> plot below the line, but using the fill() function always creates
> regular plots, not step plots, and fillstyle doesn't work as I'd expect
> it to. How can I fill a step plot? Something like this:
>
I took a stab at this during the weekends and a patch is attached.
1) introduces a new command subplot2grid. e.g.,
subplot2grid(shape=(3,3), loc=(0,0), colspan=3)
it still creates a Subplot instance.
2) subplot command can take a SubplotSpec instance which is created
using the GridSpec.
gs = G
Hi; I've got a rather simple question. I want to (color) fill a step
plot below the line, but using the fill() function always creates
regular plots, not step plots, and fillstyle doesn't work as I'd
expect it to. How can I fill a step plot? Something like this:
import matplotlib.pyplot as
Hi Chris,
Christopher Barker wrote:
> Werner F. Bruhin wrote:
>
>> I am trying to put together a wxPython frame using py.aui to show
>> multiple matplotlib.figures/canvas.
>>
>
> I'd recommend you take a look at wxMPL -- it's a nice way to embed MPL
> in wx.
>
I'll have a look at this
Hi,
I want to show the same data on multiple plots. Is it possible to re-use
the Line2D object for that? t.m.,
line = axes1.plot(xdata, ydata, ...)
...
axes2.lines.append(line)
Or is a Line2D bound to a certain axes instance?
Best regards
Ole