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
(3) |
2
(21) |
3
(16) |
4
(4) |
5
(7) |
6
(1) |
7
(2) |
8
(12) |
9
(23) |
10
(6) |
11
(2) |
12
(1) |
13
(1) |
14
(4) |
15
(14) |
16
(7) |
17
(15) |
18
(12) |
19
(5) |
20
|
21
(1) |
22
(7) |
23
(7) |
24
(6) |
25
(5) |
26
(9) |
27
(6) |
28
(4) |
29
(4) |
30
(27) |
|
|
|
I know correctly understand your problem, but I don't know how to fix it. It seems you need a pad setting for the distance from the axis label to the tick mark labels, but I don't see one in the rc file. Anyone else? Ryan On 11/16/05, Christian David Ott <chr...@gm...> wrote: > Hi Ryan, > > On 11/16/05, Ryan Krauss <rya...@gm...> wrote: > > I am confused as to what the problem is. Are you saying that your > > axis label is running into you tick label? Can you post a little > > piece of a png showing the problem you are trying to solve? > > sorry, I don't know how to post a png to the mailinglist. Do I just > have to attach it to my response? Anyway, the below code generates a > plot that reproduces my problem. The y-axis label is to close to the > y-axis tick labels (though not overlapping). I would like to shift the > y-axis label further away from the y-axis tick labels. > > - Christian > > ------------- > > #!/usr/bin/python > from pylab import * > from matplotlib import rcParams > > plot([1,2,3,4], [1,4,9,16], 'ro') > xlabel("something",size=3D30) > ylabel("something else",size=3D30) > xlabels =3D getp(gca(), 'xticklabels') > setp(xlabels, size=3D25) > ylabels =3D getp(gca(), 'yticklabels') > setp(ylabels, size=3D25) > savefig("testplot.eps") >
Hi Ryan, On 11/16/05, Ryan Krauss <rya...@gm...> wrote: > I am confused as to what the problem is. Are you saying that your > axis label is running into you tick label? Can you post a little > piece of a png showing the problem you are trying to solve? sorry, I don't know how to post a png to the mailinglist. Do I just have to attach it to my response? Anyway, the below code generates a plot that reproduces my problem. The y-axis label is to close to the y-axis tick labels (though not overlapping). I would like to shift the y-axis label further away from the y-axis tick labels. - Christian ------------- #!/usr/bin/python from pylab import * from matplotlib import rcParams plot([1,2,3,4], [1,4,9,16], 'ro') xlabel("something",size=3D30) ylabel("something else",size=3D30) xlabels =3D getp(gca(), 'xticklabels') setp(xlabels, size=3D25) ylabels =3D getp(gca(), 'yticklabels') setp(ylabels, size=3D25) savefig("testplot.eps")
I am confused as to what the problem is. Are you saying that your axis label is running into you tick label? Can you post a little piece of a png showing the problem you are trying to solve? Ryan On 11/16/05, Christian David Ott <chr...@gm...> wrote: > Hi Eric, > > On 11/16/05, Eric Firing <ef...@ha...> wrote: > > > Insert > > > > rcParams['tick.major.pad'] =3D 12 > > > > as the third line in your script, or change the value in your > > matplotlibrc file. > > thanks. But this merely changes the distance between ticks and tick > labels. The distance between tick labels and axis label stays > constant. To be more precise about what I need (my first e-mail was a > bit ambigous...sorry): I need to change the distance between tick > labels and the axis label. > > Thanks. > > - Christian > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_idv28&alloc_id=16845&opclick > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
Hi Eric, On 11/16/05, Eric Firing <ef...@ha...> wrote: > Insert > > rcParams['tick.major.pad'] =3D 12 > > as the third line in your script, or change the value in your > matplotlibrc file. thanks. But this merely changes the distance between ticks and tick labels. The distance between tick labels and axis label stays constant. To be more precise about what I need (my first e-mail was a bit ambigous...sorry): I need to change the distance between tick labels and the axis label. Thanks. - Christian
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Yes I understand the solution I try it, it work but the problem comes with when I try text() function of pylab that does'nt exist in matplotlib.<br> I think it's to much work for me to rewrite functions that are in pylab and not in matplotlib.<br> I am a newbie and I don't care to not write programs in pure pytonic style.<br> from pylab import * is good for me.<br> <br> I solve my first problem by changing in matplotlibrc :<br> backends : GTKAgg<br> the mix of TKAgg and GTK (my main windows) did not worked in fact.<br> <br> But I don't want to change the matplotlibrc for each user so I want to do this in the code.<br> Also in ipython in GTKAgg doesn't work for me.<br> I tryed in my code :<br> from pylab import *<br> rcParams['backends']= 'GTKAgg'<br> but it failed<br> <br> thanks<br> <br> sam<br> <br> Alan G Isaac a écrit : <blockquote cite="mid...@am..." type="cite"> <pre wrap="">On 2005年11月15日, Samuel CIA apparently wrote: </pre> <blockquote type="cite"> <pre wrap="">matplotlib seems to be more heavy to use. </pre> </blockquote> <pre wrap=""><!----> I think you mean "harder". </pre> <blockquote type="cite"> <pre wrap="">I don't want figure embeded my gtk main window. I just a gtk main windows with 3 buttons: plot_this, plot_that, plot_all. And new figure appairs when I click on it. It is for users that absolutly does'nt want to deal with script. I spend my time plotting figure and pylab seems to be easy, quick and elegant. If I can plot a result in 1 line, I prefer. So in this context, is pylab a bad choise ? </pre> </blockquote> <pre wrap=""><!----> Pylab is for interactive use. See <a class="moz-txt-link-freetext" href="http://matplotlib.sourceforge.net/interactive.html">http://matplotlib.sourceforge.net/interactive.html</a> for a discussion of the issues. So if you can create your figures ahead of time and just load them, that's fine. But if you want to create them on the fly, you should use Matplotlib's OO functionality. Maybe the function below will be a bit helpful for getting started. (Caution: it's a novices effort.) Alan Isaac def show_tkagg(figure,title=''): """Create a new matplotlib figure manager instance. """ from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg #_focus = windowing.FocusManager() window = Tk.Tk() window.wm_title(title) canvas = FigureCanvasTkAgg(figure, master=window) canvas.draw() canvas.get_tk_widget().pack() Tk.mainloop() ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: <a class="moz-txt-link-freetext" href="http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click">http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click</a> _______________________________________________ Matplotlib-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Mat...@li...">Mat...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/matplotlib-users">https://lists.sourceforge.net/lists/listinfo/matplotlib-users</a> </pre> </blockquote> <br> <pre class="moz-signature" cols="72">-- Samuel GARCIA CNRS - UMR5020 Universite Claude Bernard LYON 1 Laboratoire des Neurosciences et Systemes Sensoriels 50, avenue Tony Garnier 69366 LYON Cedex 07 04 37 28 74 64 </pre> </body> </html>
Christian, Insert rcParams['tick.major.pad'] = 12 as the third line in your script, or change the value in your matplotlibrc file. Eric > For talks I like to prepare eps figures which I embed in my latex-based > slides. For slides, huge font sizes are a must, hence I like to use > large fonts for tick mark labels and axis labels. My problem: For the > axis labels, matplolib (or the PS backend?) is apparently not > adjusting (or rather: under-adjusting) the distance between axis and > axis label. > > Is there a way to adjust the distance between an axis and its label? > If not, then where in the code is the distance calculated, scaled and > set? I have dug through the code, but could not find it due > to lack of object-oriented programming experience, I guess. > > Here is an example of what I mean. The x-axis labels comes out > sort of okay, but the y-axis label is to close to the y axis. > > #!/usr/bin/python > from pylab import * > from matplotlib import rcParams > > plot([1,2,3,4], [1,4,9,16], 'ro') > xlabel("something",size=30) > ylabel("something else",size=30) > xlabels = getp(gca(), 'xticklabels') > setp(xlabels, size=25) > ylabels = getp(gca(), 'yticklabels') > setp(ylabels, size=25) > savefig("testplot.eps")
Hi, I am a new user of matplotlib (0.82; python 2.3.5). So far I have used supermongo (sic!) to produce figures for physics journal articles and talks. I am trying to get up to speed with matplotlib to do the same kind of plots with an open source package. For talks I like to prepare eps figures which I embed in my latex-based slides. For slides, huge font sizes are a must, hence I like to use large fonts for tick mark labels and axis labels. My problem: For the axis labels, matplolib (or the PS backend?) is apparently not adjusting (or rather: under-adjusting) the distance between axis and axis label. Is there a way to adjust the distance between an axis and its label? If not, then where in the code is the distance calculated, scaled and set? I have dug through the code, but could not find it due to lack of object-oriented programming experience, I guess. Here is an example of what I mean. The x-axis labels comes out sort of okay, but the y-axis label is to close to the y axis. #!/usr/bin/python from pylab import * from matplotlib import rcParams plot([1,2,3,4], [1,4,9,16], 'ro') xlabel("something",size=3D30) ylabel("something else",size=3D30) xlabels =3D getp(gca(), 'xticklabels') setp(xlabels, size=3D25) ylabels =3D getp(gca(), 'yticklabels') setp(ylabels, size=3D25) savefig("testplot.eps") Note that playing around with 'axes' did not help - it has no influence on the distance between labels and axes. Help & comments much appreciated! Thanks! - Christian