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
(6) |
2
|
3
(11) |
4
(1) |
5
(26) |
6
(3) |
7
(9) |
8
(9) |
9
|
10
(4) |
11
(4) |
12
(4) |
13
(5) |
14
|
15
(1) |
16
(2) |
17
(6) |
18
|
19
(1) |
20
(3) |
21
(2) |
22
|
23
(6) |
24
(3) |
25
(7) |
26
(2) |
27
|
28
|
29
(2) |
30
(7) |
|
|
|
|
From: Benjamin R. <ben...@ou...> - 2015-06-23 16:44:57
|
I see what you are getting at. The issue is that artists are first sorted by the zorder and then drawn one at a time. The draw for a collection artist is an at-once operation, it can't (currently) be split out and interspersed with the draws from another artist. This is one of the major limitations for mplot3d, as it would be nice to compose a 3d scene properly so that everything is logically consistent. I have actually been working on some changes that would allow one to sort the draws of individual elements of a collection, but I still haven't figured out a way to "break out" the elements with other collection elements in a way that doesn't break the current design or introduce major performance penalties. Maybe I'll figure something out during SciPy2015. Cheers! Ben Root On Tue, Jun 23, 2015 at 5:44 AM, Simon Walker <s.r...@go...> wrote: > When multiple datasets are plotted on the same axis, the points overlay > each other making it hard to see the points under the most recent ones. One > way to avoid this is to give each point a random zorder, randomising its > position in the z axis. This way, points from the first dataset may overly > points from the last dataset. > > This could be achieved nicely if the zorder keyword took an array so the > random zorder values per point can be pre-computed, but currently it only > accepts a single number for the whole dataset. Would this be a useful > feature for others to have? How difficult would it be to implement? > > Thanks, > > Simon Walker > > ------------------------------------------------------------------------------ > Monitor 25 network devices or servers for free with OpManager! > OpManager is web-based network management software that monitors > network devices and physical & virtual servers, alerts via email & sms > for fault. Monitor 25 devices for free with no restriction. Download now > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
From: Simon W. <s.r...@go...> - 2015-06-23 09:44:17
|
When multiple datasets are plotted on the same axis, the points overlay each other making it hard to see the points under the most recent ones. One way to avoid this is to give each point a random zorder, randomising its position in the z axis. This way, points from the first dataset may overly points from the last dataset. This could be achieved nicely if the zorder keyword took an array so the random zorder values per point can be pre-computed, but currently it only accepts a single number for the whole dataset. Would this be a useful feature for others to have? How difficult would it be to implement? Thanks, Simon Walker |
From: Samuel D. <sd...@sp...> - 2015-06-21 17:02:32
|
I'm attempting to run a Matplotlib example that requires the use of mpl_toolkit mplot3d. I'm running Anaconda on a MackBook Pro running Mac OS X 10.10.3. I have the latest version of Anaconda and Matplotlib installed. I also installed Basemap which as I understand it also installs mpl_toolkits at the same time. The sample program is attached to this posting. I get the following error message when I run it: /*Traceback (most recent call last):*//* *//* File "/Users/user/coursera - programming for everybody (python)/Week - 06/3d-line.py", line 2, in <module>*//* *//* from mpl_toolkits.mplot3d.axes3d import Axes3D*//* *//*ImportError: No module named mpl_toolkits.mplot3d.axes3d*/ Any suggestions? Sam Dupree. |
From: Paul H. <pmh...@gm...> - 2015-06-21 15:44:39
|
Eric, You'll be producing the KML from pythonor some other python package. GIS I/O is well beyond matplotlib's scope. This gis,stackexchange thread seems promising: http://gis.stackexchange.com/questions/22519/create-a-ground-overlay-kml-from-georeferenced-raster On Wed, Jun 10, 2015 at 1:07 AM, egayer <eg...@ip...> wrote: > Hi all, > > Is there a way to produce a KML file from matplolib results as R and Matlab > do ? > > - plotKML is a R package http://plotkml.r-forge.r-project.org > - Matlab has the Google Earth Toolbox. > > Both of them allow to plot directly on GE > > I' have been digging around and found this old post :"Producing a > KML-friendly (Google Earth) image" but nothing about how to actually a > matplolib result as a KML file useable into Google Earth. > > I have seen some shape to KML packages, but nothing about raster. > > The ultimate goal being to use the "plot, mplot3d, imshow, etc..." to plot > any python array on GE. > > Thanks for your help > Eric > > > > > > -- > View this message in context: > http://matplotlib.1069221.n5.nabble.com/Produce-KML-from-Matplolib-tp45759.html > Sent from the matplotlib - users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
From: Gael G. <gae...@gm...> - 2015-06-20 18:26:56
|
Hi everyone, I had recently experienced a frustration regarding zorder and clip_on in Matplotlib. In figure 1 attached here, I would like to put blue horizontal error bars above the x-axis. As you can see right now, half of it is cut by the x-axis (for the blue point at H = 0). I used: axes.errorbar(data[:,0], data[:,1], xerr=data[:,2], fmt='', ls ="", c = 'b', capthick=2, elinewidth=2, clip_on = False, zorder = 10) But even if I change zorder = 1000, the error bar never goes above the axis. Is it a bug? Regarding the same topic, I also discovered that when using axes.twinx() in Figure 2 (A : axes; B : axes2 = axes.twinx()). The blue curve (A) never goes above the red curve (B), whatever zorder I use. I even tried axes2.set_axisbelow(True), but it doesn't change anything. I really want "axes2" to be below the "axes". Is it a bug? I had to change it manually with Illustrator and it worked, but it is of course really not convenient. Thank you very much for your help ! |
From: Gael G. <gae...@gm...> - 2015-06-20 18:03:00
|
Hi everyone, I had recently experienced a frustration regarding zorder and clip_on in Matplotlib. In figure 1 attached here, I would like to put blue horizontal error bars above the x-axis. As you can see right now, half of it is cut by the x-axis (for the blue point at H = 0). I used: axes.errorbar(data[:,0], data[:,1], xerr=data[:,2], fmt='', ls ="", c = 'b', capthick=2, elinewidth=2, clip_on = False, zorder = 10) But even if I change zorder = 1000, the error bar never goes above the axis. Is it a bug? Regarding the same topic, I also discovered that when using axes.twinx() in Figure 2 (A : axes; B : axes2 = axes.twinx()). The blue curve (A) never goes above the red curve (B), whatever zorder I use. I even tried axes2.set_axisbelow(True), but it doesn't change anything. I really want "axes2" to be below the "axes". Is it a bug? I had to change it manually with Illustrator and it worked, but it is of course really not convenient. Thank you very much for your help ! |
From: Jiali Ma <578...@qq...> - 2015-06-20 08:52:59
|
Thanks for your reply,your answer is quite useful,drawriver function is easy to use and it works. -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Problem-on-Basemap-default-coastline-data-tp45761p45808.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
From: Eric F. <ef...@ha...> - 2015-06-19 19:06:28
|
On 2015/06/10 4:24 AM, Jiali Ma wrote: > Thanks for reading my mail. > In basemap toolkit of matplotlib, I found the Coastline data used is from > the GSHHS (http://www.soest.hawaii.edu/wessel/gshhs/gshhs.html).But I found > it barely satisfying to use. Are you specifying a sufficiently high resolution and using the drawrivers() method? I think that trying to put your own data into a form to be used as a direct substitute for the built-in data would be very difficult, but you can always plot things directly on the map. Eric |
From: Ted To <rai...@th...> - 2015-06-17 19:11:50
|
Thank you, that worked. And also showed me why the xticks were mismatched -- apparently my index was not sorted. On 2015-06-17 12:55 pm, Benjamin Root wrote: > Then convert them to date objects? Also, I am guessing that the length > of indices.index is not the same as indices.carli, which could also be > the reason for a ValueError. So you would need to use whatever pandas > variable that indices.index derived from. > > Ben Root > > On Wed, Jun 17, 2015 at 12:48 PM, Ted To <rai...@th...> wrote: > >> Unless I recall incorrectly, I think I am using set_xticklabels >> because indices.index are strings. When I tried specifying >> ax.plot(indices.index,indices.carli) I get a ValueError. >> >> Ted >> >> On 2015-06-17 10:28 am, Benjamin Root wrote: >> Why are you calling ax.set_xticklabels()?. Why not pass the x >> values >> to ax.plot() along with the y values? Then you won't need to set >> the >> labels because matplotlib will do it for you. >> >> Ben Root >> >> On Wed, Jun 17, 2015 at 10:13 AM, Ted To <rai...@th...> >> wrote: >> >> Hi, >> >> I'm having a strange problem and I don't understand why this is >> happening. I am plotting the dataframe in: >> http://pastebin.com/C0Pt0iYd [1] [1] >> but I'm getting too few tick marks. My code for the plot is: >> >> fig, ax = plt.subplots() >> plt.rc('text', usetex=True) >> fig.autofmt_xdate() >> ax.plot(indices.carli,'b-',label=r'textsf{Carli}') >> ax.plot(indices.geomean,'g-',label=r'textsf{GeoMean}') >> ax.plot(indices.laspeyres,'c-',label=r'textsf{Laspeyres}') >> ax.plot(indices.paasche,'m-',label=r'textsf{Paasche}') >> ax.plot(indices.tornqvist,'y-',label=r'textsf{T"ornqvist}') >> plt.xlabel(r'textsf{Month}') >> plt.ylabel(r'textsf{Index value}') >> ax.set_xticklabels(indices.index) >> >> Any ideas what I'm doing wrong? >> >> Thanks, >> Ted >> >> > ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users [2] >> [2] >> >> Links: >> ------ >> [1] http://pastebin.com/C0Pt0iYd [1] >> [2] https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> [2] > > > > Links: > ------ > [1] http://pastebin.com/C0Pt0iYd > [2] https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
From: Benjamin R. <ben...@ou...> - 2015-06-17 16:56:25
|
Then convert them to date objects? Also, I am guessing that the length of indices.index is not the same as indices.carli, which could also be the reason for a ValueError. So you would need to use whatever pandas variable that indices.index derived from. Ben Root On Wed, Jun 17, 2015 at 12:48 PM, Ted To <rai...@th...> wrote: > Unless I recall incorrectly, I think I am using set_xticklabels because > indices.index are strings. When I tried specifying > ax.plot(indices.index,indices.carli) I get a ValueError. > > Ted > > > On 2015-06-17 10:28 am, Benjamin Root wrote: > >> Why are you calling ax.set_xticklabels()?. Why not pass the x values >> to ax.plot() along with the y values? Then you won't need to set the >> labels because matplotlib will do it for you. >> >> Ben Root >> >> On Wed, Jun 17, 2015 at 10:13 AM, Ted To <rai...@th...> wrote: >> >> Hi, >>> >>> I'm having a strange problem and I don't understand why this is >>> happening. I am plotting the dataframe in: >>> http://pastebin.com/C0Pt0iYd [1] >>> but I'm getting too few tick marks. My code for the plot is: >>> >>> fig, ax = plt.subplots() >>> plt.rc('text', usetex=True) >>> fig.autofmt_xdate() >>> ax.plot(indices.carli,'b-',label=r'textsf{Carli}') >>> ax.plot(indices.geomean,'g-',label=r'textsf{GeoMean}') >>> ax.plot(indices.laspeyres,'c-',label=r'textsf{Laspeyres}') >>> ax.plot(indices.paasche,'m-',label=r'textsf{Paasche}') >>> ax.plot(indices.tornqvist,'y-',label=r'textsf{T"ornqvist}') >>> plt.xlabel(r'textsf{Month}') >>> plt.ylabel(r'textsf{Index value}') >>> ax.set_xticklabels(indices.index) >>> >>> Any ideas what I'm doing wrong? >>> >>> Thanks, >>> Ted >>> >>> >>> >> ------------------------------------------------------------------------------ >> >>> >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users [2] >>> >> >> >> >> Links: >> ------ >> [1] http://pastebin.com/C0Pt0iYd >> [2] https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > |
From: Ted To <rai...@th...> - 2015-06-17 16:49:03
|
Unless I recall incorrectly, I think I am using set_xticklabels because indices.index are strings. When I tried specifying ax.plot(indices.index,indices.carli) I get a ValueError. Ted On 2015-06-17 10:28 am, Benjamin Root wrote: > Why are you calling ax.set_xticklabels()?. Why not pass the x values > to ax.plot() along with the y values? Then you won't need to set the > labels because matplotlib will do it for you. > > Ben Root > > On Wed, Jun 17, 2015 at 10:13 AM, Ted To <rai...@th...> wrote: > >> Hi, >> >> I'm having a strange problem and I don't understand why this is >> happening. I am plotting the dataframe in: >> http://pastebin.com/C0Pt0iYd [1] >> but I'm getting too few tick marks. My code for the plot is: >> >> fig, ax = plt.subplots() >> plt.rc('text', usetex=True) >> fig.autofmt_xdate() >> ax.plot(indices.carli,'b-',label=r'textsf{Carli}') >> ax.plot(indices.geomean,'g-',label=r'textsf{GeoMean}') >> ax.plot(indices.laspeyres,'c-',label=r'textsf{Laspeyres}') >> ax.plot(indices.paasche,'m-',label=r'textsf{Paasche}') >> ax.plot(indices.tornqvist,'y-',label=r'textsf{T"ornqvist}') >> plt.xlabel(r'textsf{Month}') >> plt.ylabel(r'textsf{Index value}') >> ax.set_xticklabels(indices.index) >> >> Any ideas what I'm doing wrong? >> >> Thanks, >> Ted >> >> > ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users [2] > > > > Links: > ------ > [1] http://pastebin.com/C0Pt0iYd > [2] https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
From: Benjamin R. <ben...@ou...> - 2015-06-17 14:29:16
|
Why are you calling ax.set_xticklabels()?. Why not pass the x values to ax.plot() along with the y values? Then you won't need to set the labels because matplotlib will do it for you. Ben Root On Wed, Jun 17, 2015 at 10:13 AM, Ted To <rai...@th...> wrote: > Hi, > > I'm having a strange problem and I don't understand why this is > happening. I am plotting the dataframe in: http://pastebin.com/C0Pt0iYd > but I'm getting too few tick marks. My code for the plot is: > > fig, ax = plt.subplots() > plt.rc('text', usetex=True) > fig.autofmt_xdate() > ax.plot(indices.carli,'b-',label=r'\textsf{Carli}') > ax.plot(indices.geomean,'g-',label=r'\textsf{GeoMean}') > ax.plot(indices.laspeyres,'c-',label=r'\textsf{Laspeyres}') > ax.plot(indices.paasche,'m-',label=r'\textsf{Paasche}') > ax.plot(indices.tornqvist,'y-',label=r'\textsf{T\"ornqvist}') > plt.xlabel(r'\textsf{Month}') > plt.ylabel(r'\textsf{Index value}') > ax.set_xticklabels(indices.index) > > Any ideas what I'm doing wrong? > > Thanks, > Ted > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |
From: Ted To <rai...@th...> - 2015-06-17 14:13:14
|
Hi, I'm having a strange problem and I don't understand why this is happening. I am plotting the dataframe in: http://pastebin.com/C0Pt0iYd but I'm getting too few tick marks. My code for the plot is: fig, ax = plt.subplots() plt.rc('text', usetex=True) fig.autofmt_xdate() ax.plot(indices.carli,'b-',label=r'\textsf{Carli}') ax.plot(indices.geomean,'g-',label=r'\textsf{GeoMean}') ax.plot(indices.laspeyres,'c-',label=r'\textsf{Laspeyres}') ax.plot(indices.paasche,'m-',label=r'\textsf{Paasche}') ax.plot(indices.tornqvist,'y-',label=r'\textsf{T\"ornqvist}') plt.xlabel(r'\textsf{Month}') plt.ylabel(r'\textsf{Index value}') ax.set_xticklabels(indices.index) Any ideas what I'm doing wrong? Thanks, Ted |
From: Amit S. <ami...@gm...> - 2015-06-17 06:30:47
|
On Sat, May 30, 2015 at 1:50 AM, Paul Hobson <pmh...@gm...> wrote: > imshow is for displaying arrays as images/rasters. > > plot is for showing data/functions as points and lines. > > See the gallery for imshow: > http://matplotlib.org/gallery.html#images_contours_and_fields Thanks Paul. I have since then have been able to develop a better understanding of imshow() and it doesn't seem very sensible to try and compare/relate it to what plot() does. -- http://echorand.me |
From: Paul H. <pmh...@gm...> - 2015-06-16 15:52:45
|
You want to use a MultipleLocator: http://matplotlib.org/examples/pylab_examples/major_minor_demo1.html -paul On Mon, Jun 15, 2015 at 6:16 PM, pb89 <pet...@gm...> wrote: > hey guys, is it also possible to only show every 5th number of that array? > Its a little too much right now: > < > http://matplotlib.1069221.n5.nabble.com/file/n45784/computationTime_slicer4_final.png > > > > > > -- > View this message in context: > http://matplotlib.1069221.n5.nabble.com/custom-x-axis-integers-boxplot-tp45769p45784.html > Sent from the matplotlib - users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
From: pb89 <pet...@gm...> - 2015-06-16 01:16:46
|
hey guys, is it also possible to only show every 5th number of that array? Its a little too much right now: <http://matplotlib.1069221.n5.nabble.com/file/n45784/computationTime_slicer4_final.png> -- View this message in context: http://matplotlib.1069221.n5.nabble.com/custom-x-axis-integers-boxplot-tp45769p45784.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
From: Juan Wu <wuj...@gm...> - 2015-06-15 22:35:57
|
Dear manager, I am confused as I actually normally joined this list, but it is always hard for me to post in this mailing list. A friend reminded me that I was not a member of the list - I do not know the reason. Could you help to check whether I joined this list successfully. Second, could I also ask/discuses the general python issues in this matplotlib? Or any good points if I want to join in a python mail list as well? Thanks so much, J |
From: pb89 <pet...@gm...> - 2015-06-13 15:03:49
|
yes, that works as well! thanks for your suggestion -- View this message in context: http://matplotlib.1069221.n5.nabble.com/custom-x-axis-integers-boxplot-tp45769p45776.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
From: Paul H. <pmh...@gm...> - 2015-06-13 14:58:56
|
Oh sorry that should be "... positions=np.arange(11, 36)) On Sat, Jun 13, 2015 at 7:49 AM, pb89 <pet...@gm...> wrote: > it tried this before, but it throws an exception: > > TypeError: boxplot() got an unexpected keyword argument 'pos' > > > > > > -- > View this message in context: > http://matplotlib.1069221.n5.nabble.com/custom-x-axis-integers-boxplot-tp45769p45774.html > Sent from the matplotlib - users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
From: pb89 <pet...@gm...> - 2015-06-13 14:49:33
|
it tried this before, but it throws an exception: TypeError: boxplot() got an unexpected keyword argument 'pos' -- View this message in context: http://matplotlib.1069221.n5.nabble.com/custom-x-axis-integers-boxplot-tp45769p45774.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
From: Paul H. <pmh...@gm...> - 2015-06-13 14:46:25
|
Probably a better way would be to the the "pos" arguments to boxplot (bp=boxplot(array, pos=range(11, 36)). That *should* work. Let me know if it doesn't. On Fri, Jun 12, 2015 at 4:36 PM, pb89 <pet...@gm...> wrote: > thanks for the quick answer Jeffrey, its working! > > -peter > > > > -- > View this message in context: > http://matplotlib.1069221.n5.nabble.com/custom-x-axis-integers-boxplot-tp45769p45771.html > Sent from the matplotlib - users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
From: robedemariee <pd....@gm...> - 2015-06-13 05:38:01
|
robe de marièe. Nantes / Monaco : chaîne du match en direct (24 novembre) Déjà la 14e journée pour le Championnat de France de Ligue 1 avec une belle affiche ce dimanche 24 novembre : Nantes vs Monaco. Un match qui s’annonce difficile pour l’équipe de Nantes qui est un peu inférieure sur le papier à celle de Monaco, mais pas impossible car les Nantais ne sont qu’à une place de différence dans le classement des monégasques. Tous les espoirs sont donc permis pour ce match ! Le match Nantes / Monaco sera diffusé en direct et en exclusivité par la chaîne payante Canal + ce dimanche 24 novembre dès 21 heures. Il faudra donc un abonnement à la chaîne pour pouvoir le suivre en direct et ne manquer aucune action sur le terrain. Les autres devront se contenter des directs proposés sur certains sites, ou des réseaux sociaux qui ne manqueront pas de vibrer au rythme des buts inscrits durant le match. Comptez-vous suivre la rencontre Nantes / Monaco ? Quelle équipe voyez-vous gagnante de cette confrontation ? robe mariage courterobe mariage courte ----- Collection Tenpercents Robe de Mariée 2015 | Tenpercents -- View this message in context: http://matplotlib.1069221.n5.nabble.com/robe-de-mariee-Nantes-Monaco-chaine-du-match-en-direct-24-novembre-tp45772.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
From: pb89 <pet...@gm...> - 2015-06-12 23:36:43
|
thanks for the quick answer Jeffrey, its working! -peter -- View this message in context: http://matplotlib.1069221.n5.nabble.com/custom-x-axis-integers-boxplot-tp45769p45771.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
From: Jeff B. <jbl...@gm...> - 2015-06-12 23:14:29
|
Try adding these lines before your call to plt.show(): locs, labels = plt.xticks() plt.xticks(locs, np.arange(11, 36)) On Fri, Jun 12, 2015 at 3:10 PM, pb89 <pet...@gm...> wrote: > hi guys, > > i guess thats an easy one for you: > > fig=plt.figure() > rect=fig.patch > rect.set_facecolor('white') > ax1=fig.add_subplot(111) > bp=boxplot(array) > > xlabel('case ID') > ylabel('registration time, sec') > show() > > whereas array is a list of lists with 25 entries. > > i want to have the axis not from 0 to 25 but from 11 to 36. How can i do > that? > > thanks > peter > > > > > -- > View this message in context: > http://matplotlib.1069221.n5.nabble.com/custom-x-axis-integers-boxplot-tp45769.html > Sent from the matplotlib - users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
From: pb89 <pet...@gm...> - 2015-06-12 22:10:16
|
hi guys, i guess thats an easy one for you: fig=plt.figure() rect=fig.patch rect.set_facecolor('white') ax1=fig.add_subplot(111) bp=boxplot(array) xlabel('case ID') ylabel('registration time, sec') show() whereas array is a list of lists with 25 entries. i want to have the axis not from 0 to 25 but from 11 to 36. How can i do that? thanks peter -- View this message in context: http://matplotlib.1069221.n5.nabble.com/custom-x-axis-integers-boxplot-tp45769.html Sent from the matplotlib - users mailing list archive at Nabble.com. |