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
(8) |
3
(6) |
4
(5) |
5
(10) |
6
(1) |
|
7
|
8
(5) |
9
(3) |
10
(12) |
11
(24) |
12
(28) |
13
(16) |
|
14
(3) |
15
(10) |
16
(17) |
17
(19) |
18
(10) |
19
(20) |
20
(7) |
|
21
(11) |
22
(7) |
23
(5) |
24
(4) |
25
(11) |
26
(19) |
27
(1) |
|
28
(1) |
29
(13) |
30
(7) |
31
(22) |
|
|
|
|
From: Eric F. <ef...@ha...> - 2011-08-20 17:49:20
|
On 08/20/2011 02:03 AM, Alexa Villaume wrote: > Hello, > > I'm trying to make a contour plot and I'm running into problems when > specifying the coordinates for the plot. I do, > > #Specify coordinates of the surface > delta0=1.0 > delta1=0.1 > x=np.arange(0.0, 6.0, delta0) > y=np.arange(-1.0,3.0, delta1) > > #Contour the arrays. > plt.contour(x, y, O3, O3Level) > > And I get an error that says, > > "TypeError: Length of x must be number of columns in z, > and length of y must be number of rows." > > I don't understand how I'm supposed to get the coordinates for the plot > that I want and make x and y the same shape as z. Any suggestions? Contouring requires data on a grid, so your O3 needs to be a 2-D array of z values, and your x and y need to specify the x and y locations of *those* z values. The orientation is such that the first dimension of the z array corresponds to y, and the second corresponds to x. Eric > > Thanks, > Alexa > > > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 > > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Alexa V. <ale...@gm...> - 2011-08-20 12:03:13
|
Hello, I'm trying to make a contour plot and I'm running into problems when specifying the coordinates for the plot. I do, #Specify coordinates of the surface delta0=1.0 delta1=0.1 x=np.arange(0.0, 6.0, delta0) y=np.arange(-1.0,3.0, delta1) #Contour the arrays. plt.contour(x, y, O3, O3Level) And I get an error that says, "TypeError: Length of x must be number of columns in z, and length of y must be number of rows." I don't understand how I'm supposed to get the coordinates for the plot that I want and make x and y the same shape as z. Any suggestions? Thanks, Alexa |
|
From: gary r. <gr...@bi...> - 2011-08-20 11:13:24
|
Thanks Eric and JJ, Both of your answers are solutions to my problem actually. I spent a while trying to figure this out and didn't get anywhere. This was an exercise in frustration with matplotlib's documentation. Thankfully this list and its members are here to save us. I assumed it was just a simple flag or option I had missed and this turned out to be the case. I had even tried setting aspect=False when creating my AxesGrid object and setting aspect="auto", but because I was poking around in the dark, I must not have set both at the same time. I also thought I'd seen an example of this somewhere, which is what Eric pointed out, but even thinking I'd seen it, I couldn't find it again. I had looked in the gallery but missed the example - looking back at the gallery now, I think it might be because every other related example uses the jet colour scheme and it simply didn't register. regards, Gary On Sat, Aug 20, 2011 at 6:49 PM, Jae-Joon Lee <lee...@gm...> wrote: > If you want aspect="auto", this must also be set when you create ImageGrid. > A simple example is attached. > If you want a fixed aspect other than 1, it is doable but gets a bit > tricky. Let me know if this is what you want. > > Regards, > > -JJ > > > > from mpl_toolkits.axes_grid1 import ImageGrid > > fig = plt.figure(1) > > grid = ImageGrid(fig, 111, (2, 1), > aspect=False, > label_mode='L', cbar_mode="single", > ) > > arr = np.arange(100).reshape((10, 10)) > im1 = grid[0].imshow(arr, aspect="auto") > im2 = grid[1].imshow(arr, aspect="auto") > > grid[0].cax.colorbar(im1) > > > > > On Sat, Aug 20, 2011 at 2:43 PM, gr...@bi... > <gr...@bi...> wrote: >> Usually imshow(arr, aspect='auto') or imshow(arr, aspect=2.0) will >> display the image with pixels having some aspect ratio other than 1:1 >> However, I cannot get this to work when using imshow within an AxesGrid axis. >> Is there a way to get an array shown with imshow() within an AxesGrid >> axis to have a pixel aspect other than 1:1 ? >> If not, is there a simple way to add a shared colorbar when using subplots() ? >> >> Gary >> >> ------------------------------------------------------------------------------ >> Get a FREE DOWNLOAD! and learn more about uberSVN rich system, >> user administration capabilities and model configuration. Take >> the hassle out of deploying and managing Subversion and the >> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > |
|
From: Jae-Joon L. <lee...@gm...> - 2011-08-20 08:49:38
|
If you want aspect="auto", this must also be set when you create ImageGrid.
A simple example is attached.
If you want a fixed aspect other than 1, it is doable but gets a bit
tricky. Let me know if this is what you want.
Regards,
-JJ
from mpl_toolkits.axes_grid1 import ImageGrid
fig = plt.figure(1)
grid = ImageGrid(fig, 111, (2, 1),
aspect=False,
label_mode='L', cbar_mode="single",
)
arr = np.arange(100).reshape((10, 10))
im1 = grid[0].imshow(arr, aspect="auto")
im2 = grid[1].imshow(arr, aspect="auto")
grid[0].cax.colorbar(im1)
On Sat, Aug 20, 2011 at 2:43 PM, gr...@bi...
<gr...@bi...> wrote:
> Usually imshow(arr, aspect='auto') or imshow(arr, aspect=2.0) will
> display the image with pixels having some aspect ratio other than 1:1
> However, I cannot get this to work when using imshow within an AxesGrid axis.
> Is there a way to get an array shown with imshow() within an AxesGrid
> axis to have a pixel aspect other than 1:1 ?
> If not, is there a simple way to add a shared colorbar when using subplots() ?
>
> Gary
>
> ------------------------------------------------------------------------------
> Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
> user administration capabilities and model configuration. Take
> the hassle out of deploying and managing Subversion and the
> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
|
|
From: Eric F. <ef...@ha...> - 2011-08-20 07:48:45
|
On 08/19/2011 07:43 PM, gr...@bi... wrote: > Usually imshow(arr, aspect='auto') or imshow(arr, aspect=2.0) will > display the image with pixels having some aspect ratio other than 1:1 > However, I cannot get this to work when using imshow within an AxesGrid axis. > Is there a way to get an array shown with imshow() within an AxesGrid > axis to have a pixel aspect other than 1:1 ? > If not, is there a simple way to add a shared colorbar when using subplots() ? By shared colorbar, do you mean something like this? http://matplotlib.sourceforge.net/examples/pylab_examples/multi_image.html It is using ordinary axes, and is a bit more complex than needed for many purposes. Eric > > Gary > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: <gr...@bi...> - 2011-08-20 05:43:34
|
Usually imshow(arr, aspect='auto') or imshow(arr, aspect=2.0) will display the image with pixels having some aspect ratio other than 1:1 However, I cannot get this to work when using imshow within an AxesGrid axis. Is there a way to get an array shown with imshow() within an AxesGrid axis to have a pixel aspect other than 1:1 ? If not, is there a simple way to add a shared colorbar when using subplots() ? Gary |
|
From: Eric F. <ef...@ha...> - 2011-08-20 01:48:34
|
On 08/15/2011 11:10 PM, Till Stensitzki wrote: > Hello, > for a interactive gui program i want to change the shown data without changing > the rest of the figure. For normal plots, there is a set_xdata/set_ydata > methods. For QuadMesh, there is a set_array method, which i don't get to work. You have to use ravel(). Illustrated with ipython -pylab: xx = pcolormesh(rand(3,3)) xx.set_array(rand(3,3).ravel()) draw() xx.set_array(rand(3,3).ravel()) draw() Eric > > Thanks, > Till |