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
(4) |
3
(12) |
4
(5) |
5
(30) |
6
(21) |
7
(20) |
8
(11) |
9
(9) |
10
(12) |
11
(11) |
12
(22) |
13
(22) |
14
(38) |
15
(25) |
16
(23) |
17
(20) |
18
(7) |
19
(13) |
20
(13) |
21
(18) |
22
(6) |
23
(7) |
24
(4) |
25
(9) |
26
(35) |
27
(37) |
28
(22) |
29
(27) |
30
(12) |
31
(4) |
not sure if it does, but if you added it to matplotlib then i guess you would have a one up on gnuplot... John Hunter-4 wrote: > > On Sat, Jan 10, 2009 at 12:50 PM, helstreak <hel...@ho...> wrote: >> >> i would only like to plot a certain number of rows...say 50 - 100...how >> do i >> do that? >> >> Thanks everyone for your help :) > > plotfile does not support row limits, but you could simply load the > data and then plot it, slicing it however you'd like. > > import numpy as np > import matplotlib.pyplot as plt > x = np.loadtxt('myfile.dat') > plt.plot(x[50:100]) > > Does gnuplot support row ranges in plotfile? I could easily add > them.... I am not a plotfile user so I don't know what people find > useful there, but limiting the row ranges makes some sense. If I make > the changes, I'd like to make them maximally gnuplot compatible since > this was te inspiration for plotfile. > > > JDH > > ------------------------------------------------------------------------------ > Check out the new SourceForge.net Marketplace. > It is the best place to buy or sell services for > just about anything Open Source. > http://p.sf.net/sfu/Xq1LFB > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > -- View this message in context: http://www.nabble.com/plotfile%3A--would-like-to-certain-number-of-rows...how-do-I-do-that--tp21390622p21393972.html Sent from the matplotlib - users mailing list archive at Nabble.com.
On Sat, Jan 10, 2009 at 12:50 PM, helstreak <hel...@ho...> wrote: > > i would only like to plot a certain number of rows...say 50 - 100...how do i > do that? > > Thanks everyone for your help :) plotfile does not support row limits, but you could simply load the data and then plot it, slicing it however you'd like. import numpy as np import matplotlib.pyplot as plt x = np.loadtxt('myfile.dat') plt.plot(x[50:100]) Does gnuplot support row ranges in plotfile? I could easily add them.... I am not a plotfile user so I don't know what people find useful there, but limiting the row ranges makes some sense. If I make the changes, I'd like to make them maximally gnuplot compatible since this was te inspiration for plotfile. JDH
rmber wrote: > I've search and there have been some previous post about this that have gone > unanswered, so I'll go ahead and ask it again: > > Is there a way to set the window title of a figure? I want the top bar of > the window to say something other than "Figure 1" or "Figure 2" so I can > easily identify open plots. Again, I'm not interested in the figure title > that you can set with title('something'), but the words in the main window's > title, on the same bar as the close,maximize, minimize buttons. This capability was added fairly recently: import matplotlib.pyplot as plt fig = plt.figure() fig.canvas.set_window_title('Custom') plt.show() Eric > > Thanks, > > Ryan
i would only like to plot a certain number of rows...say 50 - 100...how do i do that? Thanks everyone for your help :) -- View this message in context: http://www.nabble.com/plotfile%3A--would-like-to-certain-number-of-rows...how-do-I-do-that--tp21390622p21390622.html Sent from the matplotlib - users mailing list archive at Nabble.com.
Mauro Cavalcanti wrote: > Dear Jeff & ALL, > > How can I get rid, programmatically, of lines drawn with the > drawparallels and drawmeridians in MPL/Basemap? These methods return > dictionaries, but calling the Python clear() method for dictionaries > (and redrawing the figure as usual, of course) does not work. No error > appears, simply nothing happens. > > Any hints? > > Thanks in advance! > > Best regards, > > Mauro: From the docstring "returns a dictionary whose keys are the parallel values, and whose values are tuples containing lists of the matplotlib.lines.Line2D and matplotlib.text.Text instances associated with each parallel." So, if "pd" is the dict returned by drawparallels, pd[30] would be a tuple of lists of Line2D and Text instances associated with the 30 degree parallel. You can call the remove() method on each of the items in those lists to remove them from the plot. For example, [jsws-MacBook:~] jwhitaker% ipython2.5 -pylab Python 2.5.4 (r254:67916, Jan 9 2009, 07:06:45) Type "copyright", "credits" or "license" for more information. IPython 0.9.1 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object'. ?object also works, ?? prints more. Welcome to pylab, a matplotlib-based Python environment. For more information, type 'help(pylab)'. In [1]: from mpl_toolkits.basemap import Basemap In [2]: m = Basemap() In [9]: pd=m.drawparallels(range(0,90,30),labels=[1,0,0,0]) In [10]: pd Out[10]: {0: ([<matplotlib.lines.Line2D object at 0x17ea2bd0>], [<matplotlib.text.Text object at 0x17eab1f0>]), 30: ([<matplotlib.lines.Line2D object at 0x17ea2d30>], [<matplotlib.text.Text object at 0x17eab270>]), 60: ([<matplotlib.lines.Line2D object at 0x17ea2f30>], [<matplotlib.text.Text object at 0x17eab2f0>])} In [11]: pd[30] Out[11]: ([<matplotlib.lines.Line2D object at 0x17ea2d30>], [<matplotlib.text.Text object at 0x17eab270>]) In [12]: pd[30][0][0] Out[12]: <matplotlib.lines.Line2D object at 0x17ea2d30> In [13]: pd[30][0][0].remove() HTH, -Jeff
Dear Jeff & ALL, How can I get rid, programmatically, of lines drawn with the drawparallels and drawmeridians in MPL/Basemap? These methods return dictionaries, but calling the Python clear() method for dictionaries (and redrawing the figure as usual, of course) does not work. No error appears, simply nothing happens. Any hints? Thanks in advance! Best regards, -- Dr. Mauro J. Cavalcanti Ecoinformatics Studio P.O. Box 46521, CEP 20551-970 Rio de Janeiro, RJ, BRASIL E-mail: mau...@gm... Web: http://studio.infobio.net Linux Registered User #473524 * Ubuntu User #22717 "Life is complex. It consists of real and imaginary parts."
I've search and there have been some previous post about this that have gone unanswered, so I'll go ahead and ask it again: Is there a way to set the window title of a figure? I want the top bar of the window to say something other than "Figure 1" or "Figure 2" so I can easily identify open plots. Again, I'm not interested in the figure title that you can set with title('something'), but the words in the main window's title, on the same bar as the close,maximize, minimize buttons. Thanks, Ryan -- View this message in context: http://www.nabble.com/Window-title-of-a-figure-tp21384817p21384817.html Sent from the matplotlib - users mailing list archive at Nabble.com.
On Fri, Jan 9, 2009 at 9:28 PM, helstreak <hel...@ho...> wrote: > I would like to use the plotfile but it's returning the error: > > File "/usr/lib/python2.5/site-packages/matplotlib/pyplot.py", line 1228, in > plotfile > ax1 = fig.add_subplot(N,1,i) > UnboundLocalError: local variable 'N' referenced before assignment > > Any help on making this work would be greatly appreciated. It looks like you may have an old version of matplotlib, as this does not appear to be a problem in recent versions: In [3]: !cat test.dat 1 2 3 4 In [4]: plotfile('test.dat') You may want to look into upgrading. JDH
On Fri, Jan 9, 2009 at 10:56 AM, Hani Nakhoul <na...@gm...> wrote: > Hi all, > I'm having trouble compiling Matplotlib (0.98.5.2) on Ubuntu Intrepid (Linux > ubuntu 2.6.27-9-generic #1 SMP Thu Nov 20 22:15:32 UTC 2008 x86_64 > GNU/Linux). Running install ultimately gives I would like to see the shell command you type for the install (did you use sudo?) and the complete output. You showed us the build output, which looks fine, so please post the *entire* install command and output. JDH
On Fri, Jan 9, 2009 at 1:13 PM, Gregory S Morin <gs...@cs...> wrote: > ImportError: ld.so.1: python: fatal: relocation error: file > /usr/local/versions/python-2.5.1/lib/python2.5/site-packages/matplotlib/_path.so: > symbol > __1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___J__nullref_: > referenced symbol not found Hard to say for sure, but this looks like a C++ name mangling error. These occur when you compile with one compiler or version (eg g++) and try to link with a lib compiled with another C++ compiler (eg the solaris compiler). In this case, since the name mangling looks like the stl string container, my guess is you are picking up the solaris c++ stdlib and compiling with g++. JDH
I have a file with a single column of data like: 1 2 3 4 I would like to use the plotfile but it's returning the error: File "/usr/lib/python2.5/site-packages/matplotlib/pyplot.py", line 1228, in plotfile ax1 = fig.add_subplot(N,1,i) UnboundLocalError: local variable 'N' referenced before assignment Any help on making this work would be greatly appreciated. Thanks for your help :) -- View this message in context: http://www.nabble.com/plotfile%3A--single-column-plot-not-working-tp21384473p21384473.html Sent from the matplotlib - users mailing list archive at Nabble.com.
Wow, Eric. That's a lot of stuff! Thanks for looking into this to me. It would probably be useful to have a warning message or something if there are 0 values for the log axes. What do you think? On Jan 8, 2009, at 11:03 PM, Eric Firing wrote: > Simson Garfinkel wrote: >> Thanks, Eric. Any idea for a work-around on the bar graphs? > > There appear to be three problems, each with a workaround or solution: > > 1) You need to set the log scale *before* calling bar. The bar > method checks for log scaling, and if found, it sets the bottom of > the bars to a positive value (1e-100) instead of to zero. If you > set the log scale *after* calling bar, the zero bottom value gets > masked out as invalid. > > 2) The unit support for datetime objects doesn't quite know what to > do with the bar width parameter; it tries to convert it, and I > haven't tried to track down exactly what it ends up with. What I > have found is that if you use a value of width=20 as a kwarg in bar, > you will get close enough that you can make more adjustments to > taste. This is an ugly hack. > > 3) The datetime objects want full years, e.g. 1990, not just the > last two digits. I haven't tried to figure out why, but the x- > limits don't get calculated sensibly if you use 90 instead of 1990. > It presumably has to do with the ticker that is invoked for > datetime. So I think you need to either make your own modification > of the ticker (or formatter), or use all 4 year digits. > > >> As far as the Mac goes, I'm happy to get you a log-in on one, if >> you want. > > Thanks, but I really don't want to try to delve into the brand-new > mac native backend. > > Eric >> -Simson >> On Jan 8, 2009, at 2:31 PM, Eric Firing wrote: >>> Simson Garfinkel wrote: >>>> Hi! >>>> Below is a sample program. It demonstrates two bugs when plotting >>>> date/ time histograms. >>>> 1. When the y scale is made "log", the histogram points plot as >>>> lines, but when the y scale is not log, they histogram plots as >>>> bars. I do not think that the look of the bars should change >>>> depending on whether or not the Y scale is logarithmic. >>> >>> Simson, >>> >>> I verified the strange behavior with log and/or date, but looking >>> at the code did not yield any understanding of what the problems >>> are. I hope someone who has worked on the bar code recently will >>> sort this one out. Definitely, there is at least one major bug >>> that needs to be fixed. >>> >>>> 2. When the "agg.pdf" is removed, specifying "log" for the >>>> yscale produces a TypeError on the mac (see below) >>> >>> This is mac-specific, and I don't have a mac, so I can't help with >>> this, either. >