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
(7) |
2
(2) |
|
3
|
4
(1) |
5
|
6
|
7
(2) |
8
(3) |
9
|
|
10
|
11
(2) |
12
(5) |
13
(2) |
14
(3) |
15
|
16
|
|
17
|
18
(2) |
19
(8) |
20
(3) |
21
(9) |
22
(3) |
23
|
|
24
(3) |
25
(1) |
26
(10) |
27
(15) |
28
(8) |
|
|
|
From: Scott H. <st...@co...> - 2013-02-26 22:30:29
|
I am interested in using basemap and gdal to plot a georeferenced image, draw features on top of it, and then resave to the same georeferenced format. I'm wondering the easiest way to go about this. I made a first attempt (script & file attached), but am getting mixed up with all the coordinates (figure,image,georeferenced). Thanks for any advice, Scott |
|
From: Gökhan S. <gok...@gm...> - 2013-02-26 20:26:40
|
On Tue, Feb 26, 2013 at 8:29 AM, Pierre Haessig <pie...@cr...>wrote: > Le 26/02/2013 14:38, Gökhan Sever a écrit : > > > Could you test my outputs if they look fine on your side? > > http://atmos.uwyo.edu/~gsever/data/matplotlib/test.pdf > http://atmos.uwyo.edu/~gsever/data/matplotlib/test.ps > > Good idea ! > > * your PDF file looks fine with Okular > * your PS indeed has the problem you describe (again Okular) : > - "°" (degree sign) is fine > - but "⁰" (zero superscript) is replaced by "?" > > In case it may explain the difference : I'm using mpl 1.1.1rc2 from Debian > testing > and I have the following line in my matplotlibrc (is it relevant ???) > > font.sans-serif : DejaVu Sans, sans-serif > > Best, > Pierre > My matplotlib is a git clone of a couple weeks old. There is this line in the PS file (opening via vim) %%BeginResource: font KDYSTE+NewCenturySchlbk-Roman don't know where it gets this. #font.serif : DejaVu Serif, Bitstream Vera Serif, New Century Schoolbook, Century Schoolbook L, Utopia, ITC Bookman, Bookman, Nimbus Roman No9 L, Times New Roman, Times, Palatino, Charter, serif font.sans-serif : DejaVu Sans, Bitstream Vera Sans, Lucida Grande, Verdana, Geneva, Lucid, Arial, Helvetica, Avant Garde, sans-serif PS uses that even I choose to use fot.sans-serif. Dont see any font specification in the PDF file. -- Gökhan |
|
From: Pierre H. <pie...@cr...> - 2013-02-26 15:30:25
|
Le 26/02/2013 14:38, Gökhan Sever a écrit : > > Could you test my outputs if they look fine on your side? > > http://atmos.uwyo.edu/~gsever/data/matplotlib/test.pdf > <http://atmos.uwyo.edu/%7Egsever/data/matplotlib/test.pdf> > http://atmos.uwyo.edu/~gsever/data/matplotlib/test.ps > <http://atmos.uwyo.edu/%7Egsever/data/matplotlib/test.ps> > Good idea ! * your PDF file looks fine with Okular * your PS indeed has the problem you describe (again Okular) : - "°" (degree sign) is fine - but "⁰" (zero superscript) is replaced by "?" In case it may explain the difference : I'm using mpl 1.1.1rc2 from Debian testing and I have the following line in my matplotlibrc (is it relevant ???) font.sans-serif : DejaVu Sans, sans-serif Best, Pierre |
|
From: Benjamin R. <ben...@ou...> - 2013-02-26 14:45:35
|
On Tue, Feb 26, 2013 at 7:44 AM, Rita <rmo...@gm...> wrote: > Hi, > > I have a time series data which I am using plot_time(). I am able to get a > legend and I also have axvspan to show weekends. However, how can I state > the "yellow" (axvspan) is a weekend on the legend or is there a better way > to show this? > > I believe you are looking for Proxy Artists: http://matplotlib.org/users/legend_guide.html#using-proxy-artist Cheers! Ben Root |
|
From: Gökhan S. <gok...@gm...> - 2013-02-26 13:38:49
|
On Tue, Feb 26, 2013 at 6:02 AM, Pierre Haessig <pie...@cr...>wrote:
> Hi,
>
> Le 26/02/2013 12:38, Gökhan Sever a écrit :
>
> fp = plt.figure(figsize=(8.5, 11))
>> fp.text(0.5, 0.5, u"Temperature, \u00B0C", color='black', fontsize=16)
>> plt.savefig('test.ps', papertype='letter')
>> plt.savefig('test.pdf', papertype='letter')
>>
>> Just a thought. Hope it helps.
>>
>> Ryan
>>
>
> This works fine. However it is easy to remember a superscript o then its
> code :) By the way, can you select the text within the PS file?
>
>
> I just noticed that you are using here the character U+2070 "superscript
> zero" (⁰) while Ryan's proposition is U+00B0 "degree sign" (°) which I
> think is the correct one to use.
>
> This being said, there should be no difference between using the Unicode
> code and actual "°" character (and I agree it's simpler to remember)
>
You are right, U+00B0 is the right one. I think, I couldn't find a
"superscript o" easily then decided to use superscript zero from
http://en.wikipedia.org/wiki/Unicode_subscripts_and_superscripts
However, there is a slight difference in their appearance when I compare
them side by side.
For simplicity, I just use subscript and superscript unicode symbols to
construct simple units.
>
> In [1]: a = u"Temperature, \u00B0C"
> In [2]: a
> Out[2]: u'Temperature, \xb0C'
>
> In [6]: b = u"Temperature °C"
> In [7]: b
> Out[7]: u'Temperature \xb0C'
>
>
> Coming back to your other question, I can't select the text in the PS file
> (using Okular or Evince). (but PDF is selectable)
>
> Also, the PS file renders properly with both "⁰" and "°" signs. (but with
> PDF, the "⁰" is placed to low, while "°" is fine)
>
Could you test my outputs if they look fine on your side?
http://atmos.uwyo.edu/~gsever/data/matplotlib/test.pdf
http://atmos.uwyo.edu/~gsever/data/matplotlib/test.ps
Thanks.
>
> Best,
> Pierre
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
--
Gökhan
|
|
From: Pierre H. <pie...@cr...> - 2013-02-26 13:03:52
|
Hi,
Le 26/02/2013 12:38, Gökhan Sever a écrit :
>
> fp = plt.figure(figsize=(8.5, 11))
> fp.text(0.5, 0.5, u"Temperature, \u00B0C", color='black', fontsize=16)
> plt.savefig('test.ps <http://test.ps>', papertype='letter')
> plt.savefig('test.pdf', papertype='letter')
>
> Just a thought. Hope it helps.
>
> Ryan
>
>
> This works fine. However it is easy to remember a superscript o then
> its code :) By the way, can you select the text within the PS file?
I just noticed that you are using here the character U+2070 "superscript
zero" (^(0)) while Ryan's proposition is U+00B0 "degree sign" (°) which
I think is the correct one to use.
This being said, there should be no difference between using the Unicode
code and actual "°" character (and I agree it's simpler to remember)
In [1]: a = u"Temperature, \u00B0C"
In [2]: a
Out[2]: u'Temperature, \xb0C'
In [6]: b = u"Temperature °C"
In [7]: b
Out[7]: u'Temperature \xb0C'
Coming back to your other question, I can't select the text in the PS
file (using Okular or Evince). (but PDF is selectable)
Also, the PS file renders properly with both "^(0)" and "°" signs. (but
with PDF, the "^(0)" is placed to low, while "°" is fine)
Best,
Pierre
|
|
From: Rita <rmo...@gm...> - 2013-02-26 12:45:10
|
Hi, I have a time series data which I am using plot_time(). I am able to get a legend and I also have axvspan to show weekends. However, how can I state the "yellow" (axvspan) is a weekend on the legend or is there a better way to show this? -- --- Get your facts first, then you can distort them as you please.-- |
|
From: Gökhan S. <gok...@gm...> - 2013-02-26 11:39:22
|
On Mon, Feb 25, 2013 at 11:00 PM, Ryan Nelson <rne...@gm...> wrote:
> On 2/25/2013 9:29 PM, Gökhan Sever wrote:
>
> Hello,
>
> For some reason, I can't get the degree sign showing up in my ps output:
>
> Here is the simple test code:
>
> fp = plt.figure(figsize=(8.5, 11))
> fp.text(0.5, 0.5, u"Temperature, ⁰C", color='black', fontsize=16)
> plt.savefig('test.ps', papertype='letter')
> plt.savefig('test.pdf', papertype='letter')
>
> PS output shows Temperature, ?C, however PDF renders degree sign
> correctly.
>
> I can't seem to select the text in PS output, but the text is selectable
> in PDF.
>
> This is probably a font issue, where PDF uses DejaVu, on the other hand
> PS uses a Times type font.
>
> So, how can I adjust matplotlib to save in PS file?
>
> Thanks.
>
> --
> Gökhan
>
> Gökhan,
>
> I tried your code, and everything worked fine for me. (PythonXY 2.7.3.1 on
> Windows 7)
> However, I usually use the escaped unicode value rather than unicode
> characters directly. Does the following work instead:
>
> fp = plt.figure(figsize=(8.5, 11))
> fp.text(0.5, 0.5, u"Temperature, \u00B0C", color='black', fontsize=16)
> plt.savefig('test.ps', papertype='letter')
> plt.savefig('test.pdf', papertype='letter')
>
> Just a thought. Hope it helps.
>
> Ryan
>
This works fine. However it is easy to remember a superscript o then its
code :) By the way, can you select the text within the PS file?
--
Gökhan
|
|
From: Ryan N. <rne...@gm...> - 2013-02-26 06:02:02
|
On 2/25/2013 9:29 PM, Gökhan Sever wrote:
> Hello,
>
> For some reason, I can't get the degree sign showing up in my ps output:
>
> Here is the simple test code:
>
> fp = plt.figure(figsize=(8.5, 11))
> fp.text(0.5, 0.5, u"Temperature, ^(0)C", color='black', fontsize=16)
> plt.savefig('test.ps <http://test.ps>', papertype='letter')
> plt.savefig('test.pdf', papertype='letter')
>
> PS output shows Temperature, ?C, however PDF renders degree sign
> correctly.
>
> I can't seem to select the text in PS output, but the text is
> selectable in PDF.
>
> This is probably a font issue, where PDF uses DejaVu, on the other
> hand PS uses a Times type font.
>
> So, how can I adjust matplotlib to save in PS file?
>
> Thanks.
>
> --
> Gökhan
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Gökhan,
I tried your code, and everything worked fine for me. (PythonXY 2.7.3.1
on Windows 7)
However, I usually use the escaped unicode value rather than unicode
characters directly. Does the following work instead:
fp = plt.figure(figsize=(8.5, 11))
fp.text(0.5, 0.5, u"Temperature, \u00B0C", color='black', fontsize=16)
plt.savefig('test.ps <http://test.ps>', papertype='letter')
plt.savefig('test.pdf', papertype='letter')
Just a thought. Hope it helps.
Ryan
|
|
From: Gökhan S. <gok...@gm...> - 2013-02-26 02:30:36
|
Hello,
For some reason, I can't get the degree sign showing up in my ps output:
Here is the simple test code:
fp = plt.figure(figsize=(8.5, 11))
fp.text(0.5, 0.5, u"Temperature, ⁰C", color='black', fontsize=16)
plt.savefig('test.ps', papertype='letter')
plt.savefig('test.pdf', papertype='letter')
PS output shows Temperature, ?C, however PDF renders degree sign correctly.
I can't seem to select the text in PS output, but the text is selectable in
PDF.
This is probably a font issue, where PDF uses DejaVu, on the other hand PS
uses a Times type font.
So, how can I adjust matplotlib to save in PS file?
Thanks.
--
Gökhan
|