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
(9) |
2
(6) |
3
(8) |
4
(6) |
5
|
|
6
(1) |
7
(4) |
8
(15) |
9
(11) |
10
|
11
(1) |
12
(13) |
|
13
(5) |
14
(10) |
15
(12) |
16
(7) |
17
(12) |
18
(5) |
19
(4) |
|
20
(11) |
21
(4) |
22
(11) |
23
(28) |
24
(24) |
25
(23) |
26
(6) |
|
27
(7) |
28
(17) |
29
(21) |
30
(6) |
|
|
|
|
From: Kacey A. <int...@gm...> - 2008-04-26 19:25:41
|
Hello all,
Thanks again for all the help so far -- you guys are great! But presently I
have a (potentially silly) question. So I'm attempting to create a plot of
essentially two lists of data, but would like two x-axes: one along the top
in one length scale, another along the bottom in another length scale. I've
tried manually setting another x-axis at coordinates matching the top side
of the plot box, but that didn't work out so well:
loglog(wavelength, flux, "ko")
axis([1, 100, 10000, 1000000])
a = axes([0.15, 0.95, 0.85, 0.01], frameon=False)
a.yaxis.set_visible(False)
a.set_xticklabels(["test1", "test2", "test3"])
(essentially I made another plot set into the larger one and moved it around
until the bottom/x-axis of that plot was along the top of the larger plot...
ugly tickmarks above the tickmark labels, though)
Then I tried the twinx() solution:
ax1 = subplot(111)
loglog(wavelength, flux, "ko")
ax2 = twinx()
ax2.xaxis.tick_top()
ax2.set_xticklabels(["test1", "test2", "test3"])
show()
Problem is, I change the labels of the second x-axis, it changes the labels
of the bottom one, too... I'm essentially trying to have two scales which
are functions of each other, one along the top and the other along the
bottom, but for the same dataset. I've tried scouring all sorts of
documentation and forums but haven't found quite what I'm looking for. Any
help would be much appreciated!
|
|
From: John H. <jd...@gm...> - 2008-04-26 14:23:01
|
On Sat, Apr 19, 2008 at 9:07 AM, Yong-Duk Jin <ne...@gm...> wrote: > When I increase the xlabel fontsize, it overlaps with the tick label. > How can I adjust the distance between tick label and xlable (or ylabel)? > Please help me. This shouldn't happen if the font metrics are correct, since the label gets the bounding box of the tick labels and adjusts itself correctly. What mpl version and backend are you using? To increase the distance, you can increase the LABELPAD parameter ax.xaxis.LABELPAD = 8 # default is 5 JDH |
|
From: John H. <jd...@gm...> - 2008-04-26 14:17:38
|
On Fri, Apr 25, 2008 at 1:19 AM, G Jones <gle...@gm...> wrote:
> Hello,
> Thank you for the suggestion. However, I am refering to the
> canvas.restore_region, draw_artist, blit, gui_repaint sort of
> animation.
> Glenn
His suggestion is still correct -- after you update the line data and
before you call draw_artist, you can acll relim and autoscale_view as
Mattias suggested. However, this will not always do what you want,
because it will autoscale both the x and the y. In animated plots,
often you are just updating the ydata an want to manually control the
xlim and autoscale the ylim (eg strip charting). In that case, I
would do :
self.ax1.relim()
self.ax1.set_ylim(*self.ax1.yaxis.major.locator.autoscale())
JDH
|
|
From: Darren D. <dar...@co...> - 2008-04-26 13:01:17
|
Hi Yong-Duk, On Saturday 26 April 2008 08:26:33 am Yong-Duk Jin wrote: > I tested saving in a 'eps' format function using the test code > from http://www.scipy.org/Cookbook/Matplotlib/LaTeX_Examples. > > The code looks like > > > ##################################################################### > import pylab > from pylab import arange,pi,sin,cos,sqrt > fig_width_pt = 246.0 # Get this from LaTeX using \showthe\columnwidth > inches_per_pt = 1.0/72.27 # Convert pt to inch > golden_mean = (sqrt(5)-1.0)/2.0 # Aesthetic ratio > fig_width = fig_width_pt*inches_per_pt # width in inches > fig_height = fig_width*golden_mean # height in inches > fig_size = [fig_width,fig_height] > params = {'backend': 'ps', > 'axes.labelsize': 10, > 'text.fontsize': 10, > 'legend.fontsize': 10, > 'xtick.labelsize': 8, > 'ytick.labelsize': 8, > 'text.usetex': True, > 'figure.figsize': fig_size} > pylab.rcParams.update(params) > # Generate data > x = pylab.arange(-2*pi,2*pi,0.01) > y1 = sin(x) > y2 = cos(x) > # Plot data > pylab.figure(1) > pylab.clf() > pylab.axes([0.125,0.2,0.95-0.125,0.95-0.2]) > pylab.plot(x,y1,'g:',label='$\sin(x)$') > pylab.plot(x,y2,'-b',label='$\cos(x)$') > pylab.xlabel('$x$ (radians)') > pylab.ylabel('$y$') > pylab.legend() > pylab.savefig('eps.eps') > pylab.savefig('png.png',dpi=200) > ##################################################################### > > After trying the above code, I found 2 problems in saving in 'eps' format. > I attached the result saved in eps format (eps.jpg) along with the result > saved in png format (png.png) to describe the problems. > > 1. The location of axes is not correct when the plot is saved in 'eps' > format. It seems like that the appointed axes location is ignored when any > of the component in the plot is out of the figure. That is the result of an unfortunate workaround we have to use with the latex backend. Briefly: the figure you are making is actually inserted into a latex document, in order for latex to render the text. Latex yields a postscript file, which does not include a bounding box. You want an eps file, with a bounding box that preserves the placement of your axes in the visible window, but the bbox is recalculated by ghostscript based on the contents of the image. I don't know how to improve this, aside from switching to Jouni's dviread. > 2. Although the legend label in the 'eps' file is acceptable, the legend > label in 'png' file looks better. They look about the same to me, and I don't know what you mean by better. I will say though, that there are better postscript viewers out there than the one you are using. The tick labels in your eps example do not look as good as they could. I see the same thing with kpdf, Adobe Reader does a better job of rendering the text in our figures than does kpdf. > In addition to the above problems, I want to know whether there exists a > way to > adjust the distance between a axis label and tick label. When I raised the > axis > label font size to 11 or 12, the gap between a axis label and tick label > becomes > too small. I may be able to put a text instead of axis label, it, however, > takes too > much time for me to determine the proper text position manually everytime. > Actually I've asked the same question few days ago and I've not no answer > so far. > Aren't there any proper way to adjust the distance between a axis label and > tick label? I don't know. Darren |
|
From: Jouni K. S. <jk...@ik...> - 2008-04-26 06:54:49
|
Christopher Brown <c-...@as...> writes: > With mpl 0.91.2, the markeredgewidth property does not seem to have an > effect when using the pdf backend (seems to always be 1, regardless of > what I set it to, and it seems to be fine with other backends). I can't replicate this problem. Could you send me (off-list) the resulting pdf file and a screenshot from your pdf viewer? -- Jouni K. Seppänen http://www.iki.fi/jks |