You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
| 2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
| 2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
| 2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
| 2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
| 2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
| 2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
| 2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
| 2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
| 2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
| 2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
| 2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
| 2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
| 2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
1
(19) |
2
(30) |
3
(14) |
4
(1) |
|
5
(16) |
6
(7) |
7
(12) |
8
(14) |
9
(35) |
10
(16) |
11
(31) |
|
12
(6) |
13
(14) |
14
(13) |
15
(20) |
16
(15) |
17
(27) |
18
(5) |
|
19
(10) |
20
(22) |
21
(20) |
22
(30) |
23
(25) |
24
(11) |
25
(2) |
|
26
(2) |
27
(23) |
28
(20) |
29
(26) |
30
(25) |
31
(7) |
|
|
From: Jae-Joon L. <lee...@gm...> - 2009-07-19 19:45:23
|
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-td24526118.html#a24537195 -JJ On Fri, Jul 17, 2009 at 6:12 PM, per freem<per...@gm...> wrote: > hi all, > > i am plotting two distinct lines, one of the format '-o' the other of the > format '-s' -- i.e. one line with circular markers the other with a square > marker. when i add a legend to the figure, it gives a legend that looks like > this: > > o---o label of circular marker line > s---s label of square marker line > > however, in these types of plots, it's standard for the line in the legend > to only have *one* marker. meaning the legend should look like this: > > --o-- label of circular marker line > --s-- label of square marker line > > is there a way to get this modified legend appearance? > > second question: how can i make the legend altogether smaller? or at least > make the label text font smaller? > > thanks. > > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |
|
From: John H. <jd...@gm...> - 2009-07-19 13:43:22
|
On Fri, Jul 17, 2009 at 5:15 PM, Paul Ray<Pau...@nr...> 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' | 'mid' ]
> If 'pre', the interval from x[i] to x[i+1] has level y[i]
> If 'post', that interval has level y[i+1]
> If 'mid', the jumps in *y* occur half-way between the
> *x*-values.
>
> In fact both the default behavior and what you get with steps-pre are what
> SHOULD happen with steps-post. And steps-post (as you point out) does what
> should be the default behavior and that of steps-pre.
>
> I have filed a bug report on this, since it is very important that this work
> as expected. As the original poster pointed out, this used to work
> correctly but recently seems to have gotten broken.
I am looking first at the behavior of plot with the drawstyle property
set -- let's make sure this is correct before turning to the steps
command, which just uses plot with the drawstyle set -- here is my
test code
import numpy as np
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(111)
a = np.array([1,2,3,4,5])
styles = 'default' , 'steps' , 'steps-pre' , 'steps-mid' , 'steps-post'
styles = 'steps' , 'steps-pre'
for ls in styles:
ax.plot(a, ls=ls, label=ls, lw=2)
ax.legend(loc='upper left')
plt.show()
pre causes the step to rise on the x[i], post causes it to rise on
x[i+1] and mid in the middle. This seems like the correct behavior.
So it does look like the docstring for 'step' is incorrect, and I've
changed it to read
*where*: [ 'pre' | 'post' | 'mid' ]
If 'pre', the interval from x[i] to x[i+1] has level y[i+1]
If 'post', that interval has level y[i]
If 'mid', the jumps in *y* occur half-way between the
JDH
|
|
From: John H. <jd...@gm...> - 2009-07-19 12:45:03
|
On Sun, Jul 19, 2009 at 7:03 AM, willemmerson<wil...@gm...> 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. I have no problem with the python side, just the plotting side. How > do I do it? matplotlib can plot native datetime objects, so if dates is a list of datetimes, and vals is a list of values, you can: ax.plot(dates, vals) See also these code examples: http://matplotlib.sourceforge.net/search.html?q=codex+DateFormatter and the dates API documentation: http://matplotlib.sourceforge.net/api/dates_api.html JDH |
|
From: willemmerson <wil...@gm...> - 2009-07-19 12:03:44
|
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 side. How do I do it? -- View this message in context: http://www.nabble.com/plotting-years-and-months-tp24556407p24556407.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Sandro T. <mat...@gm...> - 2009-07-19 11:08:58
|
2009/7/19 Alexander Bruy <vo...@ua...>: > > 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 |
|
From: Lukas H. <Lu...@gm...> - 2009-07-19 10:59:02
|
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 Sonntag 19 Juli 2009 11:54:12 schrieb projetmbc: > 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 put it in a QWidget it is shown correctly. > > I'm not sure that is a pure MatPlotLib issue. Have you try with a big > standard widget instead of the FigureCanvas ? > > Christophe |
|
From: projetmbc <pro...@cl...> - 2009-07-19 09:54:58
|
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 put > it in a QWidget it is shown correctly. > I'm not sure that is a pure MatPlotLib issue. Have you try with a big standard widget instead of the FigureCanvas ? Christophe |
|
From: Alexander B. <vo...@ua...> - 2009-07-19 07:37:59
|
2009/17/07 Darren Dale <dsd...@gm...> 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 would be grateful for an indication of my errors and working example. Regards, Alexander Bruy -- реклама ----------------------------------------------------------- Создай свой сайт бесплатно! www.hostpro.ua |
|
From: Alexander B. <vo...@ua...> - 2009-07-19 07:29:59
|
> 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 -- реклама ----------------------------------------------------------- Создай свой сайт бесплатно! www.hostpro.ua |
|
From: Lukas H. <Lu...@gm...> - 2009-07-19 00:27:25
|
Hello, 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 put it in a QWidget it is shown correctly. Sorry, but this is my first try of Matplotlib and I don't know what I could have done wrong - maybe this is just because it's nearly 3 o'clock in the night and I'm to tired to find this mistake. ;-) Thanks for help, Lukas |