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
|
2
(1) |
|
3
(1) |
4
(3) |
5
(1) |
6
(5) |
7
(7) |
8
|
9
|
|
10
(1) |
11
(7) |
12
(2) |
13
|
14
(1) |
15
(4) |
16
(1) |
|
17
|
18
|
19
|
20
|
21
(12) |
22
(1) |
23
|
|
24
(2) |
25
(4) |
26
(1) |
27
(15) |
28
(7) |
29
(4) |
30
(2) |
|
31
(1) |
|
|
|
|
|
|
|
From: Thomas C. <tca...@gm...> - 2014-08-15 21:28:53
|
Use the `pad` property which sets how far the tick labels are from the axis.
ax1.tick_params(axis='x',which='minor',bottom='off',top='off', pad=25)
iirc, the units on pad are font-points
Tom
On Fri, Aug 15, 2014 at 5:21 PM, Sterling Smith <sm...@fu...> wrote:
> How about prepending '\n' to your minor labels?
>
> On Aug 15, 2014, at 1:38PM, Ted To wrote:
>
>> Hi,
>>
>> I'm trying to set two lines of xtick_labels But I can't figure out how
>> to get them on separate lines. These are for errorbars where I have two
>> variables for each of four categories. Using the following code, I'm
>> able to create the attached figure. How does one move the "minor"
>> xtick_labels to a 2nd line? A minor problem that maybe someone knows
>> the answer to is, how do I increase the width of the x axis so that
>> there is some space before and after the first and last ticks?
>> (ax1.set_xlim(-.5,7.5) does not seem to work.)
>>
>> Many thanks,
>> Ted
>>
>> fig,ax1=plt.subplots()
>> ax1.errorbar(wageAllTypes.index,wageAllTypes['mean'],yerr=wageAllTypes['sd'],fmt='bo')
>> xticks=[0,1,2,3,4,5,6,7]
>> xticks_minor=[.5,2.5,4.5,6.5]
>> ax1.set_xticks(xticks)
>> ax1.set_xticks(xticks_minor, minor=True)
>> ax1.set_xticklabels(['All Jobs','Job 1','Job 2','Job 3'],minor=True)
>> ax1.set_xticklabels([r'$w$',r'$\xi$',r'$w$',r'$\xi$',r'$w$',r'$\xi$',r'$w$',r'$\xi$]')
>>
>> ax1.tick_params(axis='x',which='major')
>> ax1.tick_params(axis='x',which='minor',bottom='off',top='off')
>> ax1.set_ylabel(r'$\ln w$',ha='right',rotation='horizontal')
>>
>> ax2 = ax1.twinx()
>> ax2.errorbar(xiAllTypes.index,xiAllTypes['mean'],yerr=xiAllTypes['sd'],fmt='ro')
>> ax2.set_ylabel(r'$\xi$',ha='left',rotation='horizontal')
>> <figure_1.png>------------------------------------------------------------------------------
>> _______________________________________________
>> Matplotlib-users mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
--
Thomas Caswell
tca...@gm...
|
|
From: Sterling S. <sm...@fu...> - 2014-08-15 21:21:42
|
How about prepending '\n' to your minor labels? On Aug 15, 2014, at 1:38PM, Ted To wrote: > Hi, > > I'm trying to set two lines of xtick_labels But I can't figure out how > to get them on separate lines. These are for errorbars where I have two > variables for each of four categories. Using the following code, I'm > able to create the attached figure. How does one move the "minor" > xtick_labels to a 2nd line? A minor problem that maybe someone knows > the answer to is, how do I increase the width of the x axis so that > there is some space before and after the first and last ticks? > (ax1.set_xlim(-.5,7.5) does not seem to work.) > > Many thanks, > Ted > > fig,ax1=plt.subplots() > ax1.errorbar(wageAllTypes.index,wageAllTypes['mean'],yerr=wageAllTypes['sd'],fmt='bo') > xticks=[0,1,2,3,4,5,6,7] > xticks_minor=[.5,2.5,4.5,6.5] > ax1.set_xticks(xticks) > ax1.set_xticks(xticks_minor, minor=True) > ax1.set_xticklabels(['All Jobs','Job 1','Job 2','Job 3'],minor=True) > ax1.set_xticklabels([r'$w$',r'$\xi$',r'$w$',r'$\xi$',r'$w$',r'$\xi$',r'$w$',r'$\xi$]') > > ax1.tick_params(axis='x',which='major') > ax1.tick_params(axis='x',which='minor',bottom='off',top='off') > ax1.set_ylabel(r'$\ln w$',ha='right',rotation='horizontal') > > ax2 = ax1.twinx() > ax2.errorbar(xiAllTypes.index,xiAllTypes['mean'],yerr=xiAllTypes['sd'],fmt='ro') > ax2.set_ylabel(r'$\xi$',ha='left',rotation='horizontal') > <figure_1.png>------------------------------------------------------------------------------ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Ted To <rai...@th...> - 2014-08-15 20:57:57
|
Hi, I'm trying to set two lines of xtick_labels But I can't figure out how to get them on separate lines. These are for errorbars where I have two variables for each of four categories. Using the following code, I'm able to create the attached figure. How does one move the "minor" xtick_labels to a 2nd line? A minor problem that maybe someone knows the answer to is, how do I increase the width of the x axis so that there is some space before and after the first and last ticks? (ax1.set_xlim(-.5,7.5) does not seem to work.) Many thanks, Ted fig,ax1=plt.subplots() ax1.errorbar(wageAllTypes.index,wageAllTypes['mean'],yerr=wageAllTypes['sd'],fmt='bo') xticks=[0,1,2,3,4,5,6,7] xticks_minor=[.5,2.5,4.5,6.5] ax1.set_xticks(xticks) ax1.set_xticks(xticks_minor, minor=True) ax1.set_xticklabels(['All Jobs','Job 1','Job 2','Job 3'],minor=True) ax1.set_xticklabels([r'$w$',r'$\xi$',r'$w$',r'$\xi$',r'$w$',r'$\xi$',r'$w$',r'$\xi$]') ax1.tick_params(axis='x',which='major') ax1.tick_params(axis='x',which='minor',bottom='off',top='off') ax1.set_ylabel(r'$\ln w$',ha='right',rotation='horizontal') ax2 = ax1.twinx() ax2.errorbar(xiAllTypes.index,xiAllTypes['mean'],yerr=xiAllTypes['sd'],fmt='ro') ax2.set_ylabel(r'$\xi$',ha='left',rotation='horizontal') |
|
From: iury <sim...@gm...> - 2014-08-15 00:16:07
|
My problem is that I have a curvilinear grid with some velocity data and I'm trying to so streamplot of it. I read at documentation that streamplot do not plot uneven grids and so I googled it and found this website: http://www.flannaghan.com/2013/02/23/interpolation <http://www.flannaghan.com/2013/02/23/interpolation> that someone solved the uneven problem with interpolation, but my problem is a quite harder. My grid is not just uneven, it is curvilinear. This is really important to me and I would be very thankful for any help. The example code and the result: import numpy as np import matplotlib.pyplot as plt xx = np.array([[-32.77352506, -32.50517324, -32.30341846, -32.12060867, -31.99103968], [-32.88670112, -32.63078693, -32.42892793, -32.2527705 , -32.11911059], [-32.99884749, -32.75419286, -32.55377179, -32.38220417,-32.24664094], [-33.10888993, -32.87495033, -32.67707405, -32.50885765,-32.37311971], [-33.2179889 , -32.99317728, -32.79848554, -32.63304009,-32.49815164], [-33.32651265, -33.10917094, -32.91791567, -32.75496914,-32.62146004], [-33.43449219, -33.22321261, -33.03537769, -32.87477271,-32.74286757], [-33.54184645, -33.33551502, -33.15092328, -32.99252837,-32.86227065], [-33.64847256, -33.44622558, -33.26461466, -33.1082882 ,-32.97961644], [-33.7542787 , -33.55544297, -33.37651245, -33.22209182,-33.09488502], [-33.85919362, -33.66323316, -33.48667092, -33.33397251,-33.20807667], [-33.96316738, -33.76964127, -33.59513666, -33.44395994,-33.31920308], [-34.06616899, -33.87469962, -33.70194888, -33.55208114,-33.42828168], [-34.16818354, -33.97843289, -33.80714029, -33.6583608 , -33.5353318 ], [-34.26920936, -34.08086103, -33.91073804, -33.76282129,-33.64037232], [-34.36925566, -34.18200076, -34.01276449, -33.86548266,-33.74342012], [-34.46834041, -34.28186594, -34.11323791, -33.96636282,-33.84448915], [-34.56648851, -34.38046701, -34.21217281, -34.06547784,-33.94358994], [-34.66372971, -34.4778096 , -34.30958029, -34.16284263, -34.0407292 ], [-34.76009619, -34.57389229, -34.40546833, -34.2584719 ,-34.13590974], [-34.85561889, -34.66870332, -34.49984222, -34.35238178,-34.22913045], [-34.95032165, -34.76221629, -34.59270529, -34.44459209,-34.32038648], [-35.04421102, -34.85438466, -34.6840602 , -34.5351297 ,-34.40966975], [-35.13725786, -34.94513595, -34.77391107, -34.62403315,-34.49697031], [-35.22936336, -35.03436723, -34.86226647, -34.7113589 , -34.5822793 ], [-35.3202956 , -35.12194712, -34.9491432 , -34.79718943,-34.66559567], [-35.40957149, -35.20773648, -35.03457067, -34.88164276,-34.74693998], [-35.49624617, -35.29165455, -35.11859869, -34.96488179,-34.82637986], [-35.57858891, -35.3738341 , -35.20134195, -35.04711944,-34.90406862], [-35.65407127, -35.45484625, -35.28327484, -35.12861303,-34.98028311]]) yy = np.array([[-11.3529916 , -10.83017948, -10.36062676, -9.85499224,-9.36742115], [-11.24914312, -10.77486528, -10.30767657, -9.81790781,-9.33347811], [-11.16896123, -10.71827884, -10.25654788, -9.77873607,-9.29985941], [-11.09864806, -10.66157581, -10.20688907, -9.7389486 ,-9.26669158], [-11.03379175, -10.60554773, -10.15836065, -9.69919353, -9.2340536 ], [-10.97234269, -10.55056628, -10.11076275, -9.65973621,-9.20197376], [-10.91318741, -10.49672964, -10.06398502, -9.62068888,-9.17044015], [-10.85567682, -10.44399733, -10.01795592, -9.58209354,-9.13941538], [-10.79941292, -10.39227109, -9.97261586, -9.54395471,-9.10884902], [-10.74413933, -10.3414354 , -9.92790608, -9.50625469,-9.07868586], [-10.68968138, -10.29137538, -9.88376528, -9.46896173,-9.04887037], [-10.63591212, -10.24198327, -9.84012944, -9.43203502,-9.01934878], [-10.58273238, -10.19315956, -9.79693259, -9.39542787,-8.99006955], [-10.53005851, -10.14481189, -9.75410767, -9.35908973,-8.96098324], [-10.47781454, -10.09685326, -9.71158727, -9.32296761,-8.93204187], [-10.42592671, -10.04920008, -9.66930413, -9.28700687,-8.90319822], [-10.37431922, -10.00177041, -9.62719161, -9.25115173, -8.874405 ], [-10.32291042, -9.95448254, -9.5851842 , -9.21534553,-8.84561388], [-10.27160885, -9.90725399, -9.54321824, -9.17953081, -8.8167744 ], [-10.22030865, -9.86000117, -9.50123304, -9.1436493 ,-8.78783251], [-10.16888358, -9.81263985, -9.45917264, -9.10764179,-8.75872859], [-10.11717908, -9.7650871 , -9.41698825, -9.07144794,-8.72939466], [-10.06500151, -9.71726547, -9.37464171, -9.03500603,-8.69975035], [-10.01210356, -9.66911062, -9.33211024, -8.99825263,-8.66969694], [ -9.95816574, -9.62058406, -9.28939255, -8.96112225, -8.639109 ], [ -9.90277604, -9.57169217, -9.24651752, -8.92354679,-8.60782312], [ -9.84541584, -9.52250952, -9.2035585 , -8.88545441,-8.57562469], [ -9.78546516, -9.4731919 , -9.1606645 , -8.84676681,-8.54223813], [ -9.72217224, -9.42392909, -9.11814094, -8.80739381,-8.50733329], [ -9.65407127, -9.37474785, -9.07654968, -8.76722606,-8.47056622]]) u = 3*np.cos(xx)*(-3)*np.sin(yy) v = 2*np.sin(xx)*3*np.cos(yy) speed = np.sqrt((u**2)+(v**2)) plt.ion() fig,(ax1,ax2) = plt.subplots(1,2,figsize=(14,8)) ax1.contourf(xx,yy,speed) ax1.plot(xx,yy,'-k',alpha=0.3) ax1.plot(xx.T,yy.T,'-k',alpha=0.3) ax1.quiver(xx,yy,u,v) ax2.contourf(xx,yy,speed) ax2.plot(xx,yy,'-k',alpha=0.3) ax2.plot(xx.T,yy.T,'-k',alpha=0.3) ax2.streamplot(xx,yy,u,v) <http://matplotlib.1069221.n5.nabble.com/file/n43795/error.png> -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Streamplot-for-Uneven-Curvilinear-Grid-tp43795.html Sent from the matplotlib - users mailing list archive at Nabble.com. |