http://matplotlib.sourceforge.net/api/pyplot_api.html?highlight=legend#matplotlib.pyplot.legend
numpoints=1 is what you want.
For font size and etc, check the similar question posted a few days ago.
http://www.nabble.com/formatting-help-with-legend-for-stacked-bar-graph-with-many-categories-td24
On Fri, Jul 17, 2009 at 5:15 PM, Paul Ray wrote:
>
>
> Ryan Krauss-2 wrote:
>>
>> RTFM:
>>
>> plot(t,y, drawstyle='steps-post')
>>
>>
>
> Actually, 'steps-pre' (which is the default) and 'steps-post' seem to have
> swapped definitions.
> Here is what the docs say:
> *where*: [ 'pre' | 'post' | '
On Sun, Jul 19, 2009 at 7:03 AM, willemmerson wrote:
>
> This is such a noob question but I can't seem to find the answer anywhere. I
> have a certain amount of something per month which I want to display on the
> y axis, I want the x axis to show years and months, i.e. it runs from 2003
> to 2009.
Greetings all,
I rotate a vector field and than I tried to interpolate it to a new grid
using griddata.
CODE:
x_grid_unique = unique(x_grid)
y_grid_unique = unique(y_grid)
x_meshgrid, y_meshgrid = meshgrid(x_grid_unique, y_grid_unique)
x_rot_meshgrid = reshap
Ryan Krauss-2 wrote:
>
> RTFM:
>
> plot(t,y, drawstyle='steps-post')
>
>
Actually, 'steps-pre' (which is the default) and 'steps-post' seem to have
swapped definitions.
Here is what the docs say:
*where*: [ 'pre' | 'post' | 'mid' ]
If 'pre', the interval from x[i] to x[i+1] has le
This is such a noob question but I can't seem to find the answer anywhere. I
have a certain amount of something per month which I want to display on the
y axis, I want the x axis to show years and months, i.e. it runs from 2003
to 2009. I have no problem with the python side, just the plotting sid
2009/7/19 Alexander Bruy :
>
> I create a small example, see attachment.
no attachment :)
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
--
Hello,
I've tried to resize the QTabWidget, I've searched for examples on the
internet, added a QTabWidget and used this as the Mainwindows central widget -
but exactly the same happened.
It works if I replace the FigureCanvas with a Qt Widget - for example a text
edit or a QWebView.
Am Sonnt
Lukas Hetzenecker a écrit :
> I tried to embed a Matplotlib FigureCanvas into a QTabWidget.
> But at the first start of my script - the main.py in the attatched example -
> the widget in the Tab is incorrectly sized.
> If I embed the FigureCanvas in a QTabWidget the widget is to big, but if I
> p
2009/17/07 Darren Dale wrote:
>
> Please post a short, complete, self-contained script demonstrating the
> problem.
>
I create a small example, see attachment. There is a simple dialog with
QWidget, at which
matplotlib plot is drawn. When dialog resized the plot don't change it's size.
I'm wou
> I'm not an expert on this issue, and I never used Russian language.
> But here is my experience with unicode in matplotlib.
>
Many thanks for your answer, Jae-Joon Lee!
It's work great. Thanks in advance!
Regards,
Alexander Bruy
-- реклама --
11 matches
Mail list logo