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
(5) |
2
(23) |
3
(17) |
4
(14) |
5
(12) |
6
(2) |
7
(3) |
8
(7) |
9
(13) |
10
(19) |
11
(24) |
12
(28) |
13
(9) |
14
(5) |
15
(7) |
16
(17) |
17
(17) |
18
(15) |
19
(6) |
20
|
21
(7) |
22
(20) |
23
(6) |
24
(4) |
25
(5) |
26
(11) |
27
(1) |
28
(2) |
29
(14) |
30
(7) |
|
|
|
|
I am using Latex for text rendering in some matplotlib plots and I would like to use the Times rather than the Computer Modern fonts. I would also like to be able to edit the saved plot files with Adobe Illustrator when they are saved. The "Text rendering With LaTeX" web page (http://matplotlib.sourceforge.net/users/usetex.html?highlight=xpdf%20latex) says that to produce postscript text so that in can be edited in Adobe Illustrator I should set ps.usedistiller to xpdf in the rcparams. This I have done, but I get an error message "name 'xpdf' is not defined" when I run the program. Can anyone help? I am running this on a MacBook Pro under OSX 10.6. I am using the the Enthought 6.3 distribution (which includes matplotlib 1.0). xpdf is installed on my machine and works. Here is the code where I set the rc params from matplotlib import rcParams fig_width = 5.8 # width in inches fig_height = 3.0 # height in inches fig_size = (fig_width, fig_height) params = {'backend': 'Agg', 'axes.labelsize': 9, 'axes.titlesize': 9, 'legend.fontsize': 9, 'xtick.labelsize': 6, 'ytick.labelsize': 6, 'figure.figsize': fig_size, 'savefig.dpi' : 600, 'ps.usedistiller' : xpdf, 'text.usetex' : True, 'font.family': 'sans-serif', 'font.serif' : ['Times'], 'axes.linewidth' : 0.5, 'xtick.major.size' : 2, 'ytick.major.size' : 2, 'font.size' : 9} rcParams.update(params) Thanks to anyone who can help David Pine
I am using Latex for text rendering in some matplotlib plots and I would like to use the Times rather than the Computer Modern fonts. I would also like to be able to edit the saved plot files with Adobe Illustrator when they are saved. The "Text rendering With LaTeX" web page (http://matplotlib.sourceforge.net/users/usetex.html?highlight=xpdf%20latex) says that to produce postscript text so that in can be edited in Adobe Illustrator I should set ps.usedistiller to xpdf in the rcparams. This I have done, but I get an error message "name 'xpdf' is not defined" when I run the program. Can anyone help? I am running this on a MacBook Pro under OSX 10.6. I am using the the Enthought 6.3 distribution (which includes matplotlib 1.0). xpdf is installed on my machine and works. Here is the code where I set the rc params from matplotlib import rcParams fig_width = 5.8 # width in inches fig_height = 3.0 # height in inches fig_size = (fig_width, fig_height) params = {'backend': 'Agg', 'axes.labelsize': 9, 'axes.titlesize': 9, 'legend.fontsize': 9, 'xtick.labelsize': 6, 'ytick.labelsize': 6, 'figure.figsize': fig_size, 'savefig.dpi' : 600, 'ps.usedistiller' : xpdf, 'text.usetex' : True, 'font.family': 'sans-serif', 'font.serif' : ['Times'], 'axes.linewidth' : 0.5, 'xtick.major.size' : 2, 'ytick.major.size' : 2, 'font.size' : 9} rcParams.update(params) Thanks to anyone who can help David Pine
On Tue, Nov 23, 2010 at 10:22 AM, Alejandro Weinstein <ale...@gm...> wrote: > > Hi: > > I want to use the symbol corresponding to a marker in a text > annotation. Something like > > textstr = 'This is the square marker: ?' > ax.text(0.05, 0.95, textstr) > > Is there something I can place where the question mark is above to get > the actual square (or any other of the symbols you can use as a > marker)? > > This is similar to what the legend command does, but I need more flexibility. > > Alejandro. > As I have learnt from Michael Droettboom, you can simply use unicode characters with a supported font set: In my setup I prefer DejaVu-Sans. First install these fonts into your system, then edit your matplotlibrc font.family : sans-serif font.sans-serif : DejaVu Sans or alternatively using your favorite unicode font. then try this example (suggest using a unicode supported text editor (e.g., vim)): #!/usr/bin/env python # -*- coding: utf-8 -*- import matplotlib.pyplot as plt plt.plot(range(100)) plt.text(0.05, 0.95, u"This is the square marker: □しろいしかく", fontsize=20) plt.show() Unicode characters are great for putting units, but it is not easy to construct complex equations. Does anyone know if there is sub/super-script range alphabet (not only numbers) supported unicode font set? -- Gökhan
Hi: I want to use the symbol corresponding to a marker in a text annotation. Something like textstr = 'This is the square marker: ?' ax.text(0.05, 0.95, textstr) Is there something I can place where the question mark is above to get the actual square (or any other of the symbols you can use as a marker)? This is similar to what the legend command does, but I need more flexibility. Alejandro.
Thanks for the reply! Do you know what makes X climb? And can you control its on some way? // Tim > From: jd...@gm... > Date: 2010年11月17日 05:55:04 -0600 > Subject: Re: [Matplotlib-users] Formatter dates > To: qw...@ho... > CC: mat...@li... > > On Wed, Nov 17, 2010 at 2:29 AM, Tim Åberg <qw...@ho...> wrote: > > Hello! > > > > I have now been tampering with a custom formatter and the more i think about > > it the more i feel there must be a more easy soulution. I have a set of > > values that are plotted over time (i use date2num, to get the conversion > > from date to num), i also have a list with dates that corresponds to these > > values; > > ['2010-11-05 10:27:45.605000', '2010-11-05 10:27:50.576000', '2010-11-05 > > 10:27:55.913000'], this to not have to do a conversion back, i imagine its > > the most effective way to do it. > > > > Now to the question; > > > > The only two values in the datelist that is vital is the first and the last, > > in between i really just want to have values that corresponds lineary. Thats > > brings me to resoulution, if the values are far far in between, say weeks or > > even moth the time (h:s:ms) isnt so important and vice versa. > > > > Is there any formatter that do this sort of things? eg. takes in two > > values(dates) and format it by itself. > > Take a look at this example > > http://matplotlib.sourceforge.net/examples/api/date_index_formatter.html > > It's trying to solve a different but related problem: in financial > time series you only have data on Monday - Friday, and you don't want > to plot the gaps on weekends. So you plot the data linearly with an > index, and use a custom locator and formatter to set and format the > ticks. > > JDH
On 11/16/2010 07:41 PM, Stan West wrote: > I believe I see how you could do it. The errorbar call returns the tuple p = > (plotline, caplines, barlinecols) [1], and to update the errorbars, you must > modify the objects in the caplines and barlinecols lists. Each element of the > caplines list is a Line2D artist [2] for the left, right, top, or bottom caps; > you can use its methods set_data, set_xdata, or set_ydata to modify its > coordinates, as you did for the main line. Each element of the barlinecols > list is a LineCollection [3] artist responsible for all of the x or y > errorbars; you can use the set_segments method to provide new coordinates. > > [1] > http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.errorbar > [2] > http://matplotlib.sourceforge.net/api/artist_api.html#matplotlib.lines.Line2D > [3] > http://matplotlib.sourceforge.net/api/collections_api.html#matplotlib.collections.LineCollection > Thanks Stan, with your suggestion I was able to solve the problem, even if it is not immediate (but not too long). This is what I did: plotline, caplines, barlinecols = plt.errorbar(x, y, yerr, xerr) # Now move the line y = y/2. # Replot the data first plotline.set_data(x,y) # Find the ending points of the errorbars error_positions = (x-xerr,y), (x+xerr,y), (x,y-yerr), (x,y+yerr) # Update the caplines for i,pos in enumerate(error_positions): caplines[i].set_data(pos) # Update the error bars barlinecols[0].set_segments(zip(zip(x-xerr,y), zip(x+xerr,y))) barlinecols[1].set_segments(zip(zip(x,y-yerr), zip(x,y+yerr))) The last lines are a little clumsy, but I could not find a better way. Anyway, it could be nice to have a method like set_errorbar(x, y, yerr, xerr) to do the job. Many thanks again Gianfranco -- Istituto Nazionale di Ricerca Metrologica (I.N.Ri.M) (former Istituto Elettrotecnico Nazionale Galileo Ferraris) Strada delle Cacce, 91 - 10135 Torino Italy tel: ++39 011 3919839 fax: ++39 011 3919834 Personal home page: http://www.inrim.it/~durin/ INRiM home pag: http://www.inrim.it/ ============================================================= Please note my new e-mail: g....@in... =============================================================