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}
(151) 
_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}

S  M  T  W  T  F  S 



1
(9) 
2
(8) 
3

4
(6) 
5

6

7
(41) 
8
(18) 
9
(25) 
10
(18) 
11
(10) 
12
(13) 
13
(7) 
14
(4) 
15
(12) 
16
(6) 
17
(9) 
18
(7) 
19
(2) 
20
(5) 
21
(7) 
22
(2) 
23
(11) 
24
(11) 
25
(14) 
26
(3) 
27
(3) 
28
(17) 
29
(7) 
30
(16) 
31
(8) 


From: herbie13 <g.herbert@du...>  20110314 13:06:04

Hello, I basically have a ChiSquared distribution that is dependent on 3 variables. eg. X2(x, y, z) What I would like to do is be able to plot the chisquared + 1 surface in 3dimensions. eg. I would like to have the three axes as x, y and z. and then have a surface (its going to look like a closed blob effectively) that maps the chisquared plus one surface. I have no idea how to do this though. Is it possible? any ideas?  View this message in context: http://old.nabble.com/3dSurfaceContourPlottp31143849p31143849.html Sent from the matplotlib  users mailing list archive at Nabble.com. 
From: JaeJoon Lee <lee.joon@gm...>  20110314 07:14:38

For this to work correctly, you need to manually keep two axes in sync (you can use a callback). Also note that this approach cannot be used with aspect=1 & adjustable=bbox. Another way is to use axes_grid1 toolkit. Here is the modified version of your script w/ axes_grid1. Regards, JJ import numpy as np import matplotlib import matplotlib.colorbar as cb import matplotlib.pyplot as plt y = np.reshape(np.arange(0, 1000000, 1), (20000, 50)) test = 'hot' f1 = plt.figure(1) f1.patch.set_facecolor('#c0c0c0') import mpl_toolkits.axes_grid1 as axes_grid1 # use axes_grid1.host_axes ax1 = axes_grid1.host_axes([0.09, 0.15, 0.82, 0.80]) axc = f1.add_axes([0.09, 0.05, 0.82, 0.05]) im1 = ax1.imshow(y, cmap=test, aspect='auto', origin='lower') cb.Colorbar(axc, im1, orientation='horizontal') # use twin() not twinx() ax2 = ax1.twin() # make ticklabels on the top invisible ax2.axis["top"].toggle(ticklabels=False) fmtr = matplotlib.ticker.FuncFormatter(lambda x,pos: "%.2f"% (x*2,)) ax2.yaxis.set_major_formatter(fmtr) plt.show() On Sat, Mar 12, 2011 at 9:01 AM, Thomas Brezinski <thomasb@...> wrote: > Jason Stone, on 20110218 14:39, wrote: >> Good afternoon all, >> One last matplotlib question for the group for today. On one of my GUI >> plots, I'm calling imshow on an array of data (to display it in the same >> way >> MATLAB's imagesc command does). I'd like to add a second yaxis to the >> right side of the plot that is completely dependent on the values on the >> primary yaxis. Essentially, for each yaxis tick point, I'll put the >> yaxis 'value' into a formula and then put the result on the second >> yaxis. >> I did this in MATLAB by essentially overlaying a second set of axes over >> the plot, but I haven't found the exact way to do it with matplotlib yet. >> I've seen a few examples online, but they all use the second overlaid >> plot >> to actually plot new data  I wouldn't be doing this. >> Would I need to use the twinx (or twiny) function? >> Are there examples of this on the web that I haven't found that somebody >> could point me towards? > > Hi Jason, > > here's an example that does what you want, using e^x as the > formula, change the paramter to fmtr to suit your needs: > > ax = plt.subplot(1,1,1) > ax.plot(np.sin(np.linspace(0,np.pi))) > ax2 = ax.twinx() > ax2._sharey = ax # share both x and y > fmtr = mpl.ticker.FuncFormatter(lambda x,pos: "%.2f"%np.exp(x)) > ax2.yaxis.set_major_formatter(fmtr) > plt.draw() > > best, >  > Paul Ivanov > 314 address only used for lists, offlist direct email at: > http://pirsquared.org  GPG/PGP key id: 0x0F3E28F7 > > > Paul, > I am currently doing something very similar and was hoping I could ask for a > little clarification. I want to have two y axes where the ticks are in the > same locations and the 2nd yaxis labels are just twice the 1st yaxis > labels. When I implement your example, I don't quite understand how to > ensure the ticks are at the same locations. Also, when the data changes to a > new image, the 1st yaxis updates but the 2nd yaxis does not. Is there a > convenient way to force both to update each time, or does the figure need to > be cleared and essentially built from scratch each time. > > for example, with the following code: > > import numpy as np > import matplotlib > import matplotlib.colorbar as cb > import matplotlib.pyplot as plt > > y = np.reshape(np.arange(0, 1000000, 1), (20000, 50)) > test = 'hot' > f1 = plt.figure(1) > f1.patch.set_facecolor('#c0c0c0') > ax1 = f1.add_axes([0.09, 0.15, 0.82, 0.80]) > axc = f1.add_axes([0.09, 0.05, 0.82, 0.05]) > im1 = ax1.imshow(y, cmap=test, aspect='auto', origin='lower') > cb.Colorbar(axc, im1, orientation='horizontal') > ax2 = ax1.twinx() > ax2._sharey = ax1 # share both x and y > fmtr = matplotlib.ticker.FuncFormatter(lambda x,pos: "%.2f"%np.exp(x)) > ax2.yaxis.set_major_formatter(fmtr) > plt.show() > > The ticks on the right are obviously at different locations compared to the > left ticks. Also, if imshow was to be called a new array of data, the ticks > on the right would remain the same. So is there an easy way to force the > locations to be the same, and is there an easy way force the right yaxis to > update each time? Thank you very much for your time and help. > > Thomas > > > > > BEGIN PGP SIGNATURE > Version: GnuPG v1.4.10 (GNU/Linux) > > iEYEARECAAYFAk1kEfIACgkQe+cmRQ8+KPe0vACfSMtFJ9KSRwqU34j6QevaSZqD > qM0An2WHMyKisrwDIyKaCcuygrsWvZbX > =OIU1 > END PGP SIGNATURE > >  > Free Software Download: Index, Search & Analyze Logs and other IT data in > RealTime with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunkdev2dev > _______________________________________________ > Matplotlibusers mailing list > Matplotlibusers@... > https://lists.sourceforge.net/lists/listinfo/matplotlibusers > > >  > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization  today and in the future. > http://p.sf.net/sfu/internapsfd2d > _______________________________________________ > Matplotlibusers mailing list > Matplotlibusers@... > https://lists.sourceforge.net/lists/listinfo/matplotlibusers > > 
From: John F. Gibson <johnfgibson@gm...>  20110314 02:49:49

I would like to construct a 3d plot consisting of several 2d quiver plots on orthogonal, intersecting planes. Is this possible with matplotlib? In matlab I do it by construct several 2d graph and then reorienting them in the 3d space using the 'rotate' function. E.g. xaxis = [1 0 0]; h = quiver('v6', z, y, w, v, 'k'); rotate(h, xaxis, 90, [0 0 0]); This produces a 2d quiver plot of [v,w](y,z) oriented along the y,z axes of the 3d space, and then I do the same for x,y and x,z quiver plots. Any ideas for matplotib 3d? Thanks! John Gibson  View this message in context: http://old.nabble.com/orienting2dplotsin3dtp31140854p31140854.html Sent from the matplotlib  users mailing list archive at Nabble.com. 
From: Nicolas SCHEFFER <scheffer.nicolas@gm...>  20110314 01:18:52

Thanks much for the reply! I'll try your advice as soon as I can. BTW, I don't think this is a Solarisrelated problem. If you look at the pointers in my original post, the same error can happen on other arch (I confess it can be for other reasons though). n On Sun, Mar 13, 2011 at 1:03 PM, Jouni K. Seppänen <jks@...> wrote: > Nicolas SCHEFFER <scheffer.nicolas@...> writes: > >> I didn't get much reply on this issue, so I'm just trying to resurrect >> the question. > > Probably not many devs using Solaris, so noone has been able to > reproduce this. > >>> #12 0xfffffd7ff4a22fd8 in py_to_agg_transformation_matrix >>> (obj=0x774380, errors=<value optimized out>) at >>> src/agg_py_transforms.cpp:22 >>> #13 0xfffffd7ff4a32e7c in _path_module::update_path_extents >>> (this=<value optimized out>, args=...) at src/path.cpp:380 > > So it's in transformsrelated code, but we can't see the locals. First > I'd try to recompile without optimizations and (hoping it still crashes) > inspect the local variables in these frames in gdb. Or maybe make the > functions print out their arguments and any other relevant locals. > >  > Jouni K. Seppänen > http://www.iki.fi/jks > > >  > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization  today and in the future. > http://p.sf.net/sfu/internapsfd2d > _______________________________________________ > Matplotlibusers mailing list > Matplotlibusers@... > https://lists.sourceforge.net/lists/listinfo/matplotlibusers > 