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
(1) |
2
(12) |
3
(12) |
4
(19) |
5
(7) |
6
(6) |
7
(2) |
8
(2) |
9
(11) |
10
(15) |
11
(27) |
12
(27) |
13
(18) |
14
(3) |
15
(3) |
16
(25) |
17
(9) |
18
(3) |
19
(4) |
20
(2) |
21
(4) |
22
(9) |
23
(28) |
24
(18) |
25
(16) |
26
(9) |
27
(4) |
28
(13) |
29
(15) |
30
(33) |
|
|
|
|
|
The script run_all.py in the basemap examples does not work when Python has been installed to "C:\Program Files\Python25". It appears that this problem involves the space in the path. -- View this message in context: http://old.nabble.com/bug-in-run_all.py-tp26470905p26470905.html Sent from the matplotlib - users mailing list archive at Nabble.com.
Laurent Dufrechou wrote: > You can define exactly the size and position of your plot like this: > > fig = Figure() > axe = fig.add_axes([pos_x,pos_y,size_x,size_y]) I believe the OP was asking how to position the entire figure Window (or frame in wx parlance) on the screen, rather than the axis within the figure. If you are using the wx back-end, you should be able to get a reference to the wx.Frame, and do what you like with it. (sorry, I don't remember how to do that off the top of my head, though if need be a few calls to GetParent should get you there). If you are using another back-end there should be a similar calls available. However, given your description, I suspect that you'd be better off managing the frames with your code anyway. Take a look at wxMPL (http://agni.phys.iit.edu/~kmcivor/wxmpl/) and/or the "embedded_in_wx" examples. -Chris > axe.plot(x, y, 'b') > > where pos_x,pos_y is a number (0<n<1) and 0,0 is bottom left > size_x, size_x is a number (0<n<1) > 1 is full figure size. > > Ex: axe = fig.add_axes([0.1,0.1,0.8,0.2]) > > Plot @10% x,10% y from bottom left > And size is 80% of figure x size and 20% of figure y size. > > > Laurent > > -----Message d'origine----- > De : Marie De La Fontaine [mailto:mar...@ya...] > Envoyé : dimanche 22 novembre 2009 18:05 > À : mat...@li... > Objet : [Matplotlib-users] set figure position > > We have recently switched to matplotlib after having done all plotting with > pure wxPython for years. > > There is one problem we cannot solve. With wxPython we are free to set the > geometry (position and size) of each Frame anywhere on the screen. We have > developed a heuristic solution which packs the Frames automatically > according to a pattern that can be recognized after a user has manually > repositioned a few Frames on the screen. For example, some users tend to > align their figures in a row, others subdivide the available space for > different groups of figures, and so on. Please let us know if anyone is > interested to integrate this heuristic packing into matplotlib. > > The important question is: > How can we set the position of a Figure on the screen using matplotlib? > There is a function Figure.set_size_inches, but no function to move the > Figure to a new position. Please help. > > Regards, > Marie > > > __________________________________________________ > Do You Yahoo!? > Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz > gegen Massenmails. > http://mail.yahoo.com > > > ---------------------------------------------------------------------------- > -- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no...
Hi marie, You can define exactly the size and position of your plot like this: fig = Figure() axe = fig.add_axes([pos_x,pos_y,size_x,size_y]) axe.plot(x, y, 'b') where pos_x,pos_y is a number (0<n<1) and 0,0 is bottom left size_x, size_x is a number (0<n<1) 1 is full figure size. Ex: axe = fig.add_axes([0.1,0.1,0.8,0.2]) Plot @10% x,10% y from bottom left And size is 80% of figure x size and 20% of figure y size. Laurent -----Message d'origine----- De : Marie De La Fontaine [mailto:mar...@ya...] Envoyé : dimanche 22 novembre 2009 18:05 À : mat...@li... Objet : [Matplotlib-users] set figure position We have recently switched to matplotlib after having done all plotting with pure wxPython for years. There is one problem we cannot solve. With wxPython we are free to set the geometry (position and size) of each Frame anywhere on the screen. We have developed a heuristic solution which packs the Frames automatically according to a pattern that can be recognized after a user has manually repositioned a few Frames on the screen. For example, some users tend to align their figures in a row, others subdivide the available space for different groups of figures, and so on. Please let us know if anyone is interested to integrate this heuristic packing into matplotlib. The important question is: How can we set the position of a Figure on the screen using matplotlib? There is a function Figure.set_size_inches, but no function to move the Figure to a new position. Please help. Regards, Marie __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com ---------------------------------------------------------------------------- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-users mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Hi, RTFM...indeed it works. However, the axis do not scale accordingly: quiver([1],[1],[2],[2], angles='xy', scale_units='xy', scale=1) on a TkAgg backend produce a plot with: In [11]: axis() Out[11]: (0.94000000000000006, 1.0600000000000001, 0.94000000000000006, 1.0600000000000001) The display area scales the same way as it does using quiver([1],[1],[2],[2]) (without any other args). It looks like a bug. Xavier > Hi Xavier, > > You can pass some handy keyword arguments to fix that. Use the following: > > quiver([1],[1],[1.2],[1.2], angles='xy', scale_units='xy', scale=1) > > Hope that helps :) > > > Regards, > -- Damon > > -------------------------- > Damon McDougall > Mathematics Institute > University of Warwick > Coventry > CV4 7AL > d.m...@wa... > > On 22 Nov 2009, at 16:37, Xavier Gnata wrote: > > >> Hi, >> >> I woud like to draw a vector field using pylab. >> quivert looks nice but it sould not scale the arrows to fit my use-case. >> quiver([1],[1],[1.2],[1.2]) does plot a nice arrow but the head of the >> arrow is not at (1.2,1.2). >> Is there a way to plot a list of arrows *without* any scaling? >> >> Xavier >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >
Hi Xavier, You can pass some handy keyword arguments to fix that. Use the following: quiver([1],[1],[1.2],[1.2], angles='xy', scale_units='xy', scale=1) Hope that helps :) Regards, -- Damon -------------------------- Damon McDougall Mathematics Institute University of Warwick Coventry CV4 7AL d.m...@wa... On 22 Nov 2009, at 16:37, Xavier Gnata wrote: > Hi, > > I woud like to draw a vector field using pylab. > quivert looks nice but it sould not scale the arrows to fit my use-case. > quiver([1],[1],[1.2],[1.2]) does plot a nice arrow but the head of the > arrow is not at (1.2,1.2). > Is there a way to plot a list of arrows *without* any scaling? > > Xavier > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
We have recently switched to matplotlib after having done all plotting with pure wxPython for years. There is one problem we cannot solve. With wxPython we are free to set the geometry (position and size) of each Frame anywhere on the screen. We have developed a heuristic solution which packs the Frames automatically according to a pattern that can be recognized after a user has manually repositioned a few Frames on the screen. For example, some users tend to align their figures in a row, others subdivide the available space for different groups of figures, and so on. Please let us know if anyone is interested to integrate this heuristic packing into matplotlib. The important question is: How can we set the position of a Figure on the screen using matplotlib? There is a function Figure.set_size_inches, but no function to move the Figure to a new position. Please help. Regards, Marie __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com
Hi, I woud like to draw a vector field using pylab. quivert looks nice but it sould not scale the arrows to fit my use-case. quiver([1],[1],[1.2],[1.2]) does plot a nice arrow but the head of the arrow is not at (1.2,1.2). Is there a way to plot a list of arrows *without* any scaling? Xavier
Hi Jae-Joon and others, i switched to using splines, but i still cannot see how to adjust the space between the axis labels and the ticks of the axes. right now the labels are too far away. here is my code: fig = plt.figure() x = np.linspace(0,2*np.pi,100) y = 2*np.sin(x) ax = fig.add_subplot(2,2,1) ax.plot(x,y) show_spines(ax,['left', 'bottom']) plt.xlabel('xlabel') plt.ylabel('ylabel') ax = fig.add_subplot(2,2,2) ax.plot(x,y) show_spines(ax,['left', 'bottom']) plt.xlabel('xlabel') plt.ylabel('ylabel') ax = fig.add_subplot(2,2,3) ax.plot(x,y) show_spines(ax,['left','bottom']) plt.xlabel('xlabel') plt.ylabel('ylabel') ax = fig.add_subplot(2,2,4) ax.plot(x,y) show_spines(ax,['left', 'bottom']) plt.xlabel('xlabel') plt.ylabel('ylabel') plt.savefig('test.pdf') i don't see how i could switch to plt.text or plt.annotate here. the xlabel and ylabel functions automatically plot the label of an axis in the center, which is exactly what i need. computing where the coordinates where a label should be plotted with plt.text so that the label appears in the center seems very messy and difficult, since it requires knowing how much space the label will take (and that depends on the font size etc.) is there an existing parameter that just controls the distance between the xticks and the label? it seems like there must be.. i just want to bring them closer together. thank you. On 11/13/09, Jae-Joon Lee <lee...@gm...> wrote: > I think I have said this a few times, but if you're using axes_grid > toolkit, it is likely that most of the ticks, ticklabels and > axis-related command of the original matplotlib may NOT work. And that > is why I recommend you to use the spines instead. > > Anyhow, adjusting the pad between axis and the axis label in the > axes_grid toolkit way is > > ax.axis["xzero"].LABELPAD=10 > > Things like "labelpad" parameters in xlabel (or ylabel) command are > currently ignored. > > I don't think set_position command will work also. I f you need to > place your labels at some specific point, simply use "text" or > "annotate" command instead. > > -JJ > > > > On Fri, Nov 13, 2009 at 2:02 PM, per freem <per...@gm...> wrote: >> thanks for the suggestion, though this does not work for me in the >> following example: >> >> import matplotlib >> matplotlib.use('PDF') >> import matplotlib.pyplot as plt >> from matplotlib import rc >> rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']}) >> plt.rcParams['ps.useafm'] = True >> rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']}) >> plt.rcParams['pdf.fonttype'] = 42 >> plt.rcParams['font.size'] = 10 >> >> from mpl_toolkits.axes_grid.axislines import SubplotZero >> >> def setup_axes(fig, labelpad=1, invisible=["bottom", "top", "right"]): >> plt.rcParams['ytick.major.pad'] = 2 >> plt.rcParams['ytick.minor.pad'] = 2 >> # Y ticks work, but X tick do not... >> plt.rcParams['xtick.major.pad'] = 0.01 >> plt.rcParams['xtick.minor.pad'] = 0.01 >> ax = SubplotZero(fig, 1, 1, 1) >> fig.add_subplot(ax) >> # make xzero axis (horizontal axis line through y=0) visible. >> ax.axis["xzero"].set_visible(True) >> # make other axis (bottom, top, right) invisible. >> for n in invisible: >> ax.axis[n].set_visible(False) >> return ax >> >> fig = plt.figure(figsize=(5, 5), dpi=300) >> setup_axes(fig, labelpad=2) >> x = range(1, 11) >> y = [5000, 900, 600, 500, 200, 110, 50, 20, 10, 5] >> plt.plot(x, y, linewidth=1.5, c='k') >> plt.ylabel('hello', labelpad=10) >> xlab = plt.xlabel('hello x axis') >> xlab.set_position((0.2, 0.1)) >> plt.savefig('test_logscale.pdf') >> >> the xaxis doesn't seem to be moved. any idea what might be wrong here? >> thanks. >> >> On Fri, Nov 13, 2009 at 1:43 PM, Gökhan Sever <gok...@gm...> >> wrote: >>> >>> >>> On Fri, Nov 13, 2009 at 12:36 PM, per freem <per...@gm...> wrote: >>>> >>>> hi all, >>>> >>>> how can the space between the label (e.g. thing created by >>>> plt.xlabel('mylabel')) and the axes be adjusted? i am not talking >>>> about the space between the ticklabels of the axes and the axes >>>> themselves (which is set by 'xtick.major.pad' or 'ytick.major.pad') >>>> but between the overall axes label and the axes. >>>> >>>> how can this be done? thanks. >>>> >>> >>> Using the set_position method, e.g. : >>> >>> xlab = plt.xlabel("my x-axes label") >>> xlab.set_position((0.2, 0.1)) >>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>> 30-Day >>>> trial. Simplify your report design, integration and deployment - and >>>> focus >>>> on >>>> what you do best, core application coding. Discover what's new with >>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>> _______________________________________________ >>>> Matplotlib-users mailing list >>>> Mat...@li... >>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> >>> >>> >>> -- >>> Gökhan >>> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >
I was trying to build matplotlib 0.99.0 as part of Sage http://www.sagemath.org/ on a Sun Blade 2000 workstation running Solaris 10 update 7, using the Sun Studio compiler version 12.1 (not gcc). CC and CXX were defined properly as C and C++ compilers, but it would appear that the C compiler is being called to compile the file src/ft2font.cpp, which is of course a C++ file. You might get away with this with gcc, but the Sun C compiler will not compile C++ code. Here's the error I get: /opt/xxxsunstudio12.1/bin/cc -DNDEBUG -O -xcode=pic32 -DPY_ARRAYAUNIQUE_SYMBOL=MPL_ARRAY_API -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/lib/python2.6/site-packages/numpy/core/include -I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/local/include -I. -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include/ -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include/python2.6 -c src/ft2font.cpp -o build/temp.solaris-2.10-sun4u-2.6/src/ft2font.o cc: No valid input files specified, no output generated error: command '/opt/xxxsunstudio12.1/bin/cc' failed with exit status 1 This is recorded in the Sage trac as: http://trac.sagemath.org/sage_trac/ticket/7028