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
(10) |
2
(17) |
3
(14) |
4
(28) |
5
(23) |
6
(12) |
|
7
(3) |
8
(11) |
9
(29) |
10
(31) |
11
(9) |
12
(35) |
13
(3) |
|
14
(9) |
15
(16) |
16
(14) |
17
(10) |
18
(7) |
19
(3) |
20
|
|
21
(4) |
22
(6) |
23
(14) |
24
(16) |
25
(10) |
26
(5) |
27
(4) |
|
28
(8) |
29
(19) |
30
(21) |
|
|
|
|
|
From: Art <gre...@gm...> - 2009-06-24 20:28:16
|
Thanks! I knew it had to exist and with a lot of nice options, as usual. Art On Wed, Jun 24, 2009 at 10:21 PM, Jae-Joon Lee <lee...@gm...> wrote: > I guess the stem plot is close to what you need. > > http://matplotlib.sourceforge.net/examples/pylab_examples/stem_plot.html > > Regards, > > -JJ > > > > > On Wed, Jun 24, 2009 at 3:32 PM, Art<gre...@gm...> wrote: > > Hi Eric, > > > > I was thinking more like the tiny attachment (hope attachments are ok). > > Basically, given a list of (x,y) coordinates, plot the (x,y) point as a > > little circle and drop a line down from the point to the x-axis (but not > > fill the whole region under the plot). > > > > It's very nice for plotting a sparse signal, where most of the y's are > equal > > to zero but some are not. > > > > Thanks, > > Art. > > > > On Wed, Jun 24, 2009 at 7:18 PM, Eric Firing <ef...@ha...> wrote: > >> > >> Art wrote: > >>> > >>> Is there a way to create a line plot similar to Mathematica's > >>> PlotFilling->Axis option for ListPlot? > >>> > >> > >> Like this? > >> > >> > >> > http://matplotlib.sourceforge.net/examples/pylab_examples/fill_between_demo.html > >> > >> Eric > >>> > >>> It is a plot of a vector as a line plot, but for each point, there is a > >>> vertical line dropped down to the axis. It is demonstrated on the > following > >>> link: > >>> > >>> http://reference.wolfram.com/mathematica/ref/Filling.html > >>> > >>> With the example given: > >>> > >>> ListPlot[Table[{k, > >>> PDF[BinomialDistribution[50, p], k]}, {p, {0.3, 0.5, 0.8}}, {k, 0, > >>> 50}], Filling -> Axis] > >>> > >>> Thanks! > >>> > >>> > >>> > ------------------------------------------------------------------------ > >>> > >>> > >>> > ------------------------------------------------------------------------------ > >>> > >>> > >>> > ------------------------------------------------------------------------ > >>> > >>> _______________________________________________ > >>> Matplotlib-users mailing list > >>> Mat...@li... > >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > >> > > > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > > Matplotlib-users mailing list > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > |
|
From: Jae-Joon L. <lee...@gm...> - 2009-06-24 20:23:07
|
I guess the stem plot is close to what you need. http://matplotlib.sourceforge.net/examples/pylab_examples/stem_plot.html Regards, -JJ On Wed, Jun 24, 2009 at 3:32 PM, Art<gre...@gm...> wrote: > Hi Eric, > > I was thinking more like the tiny attachment (hope attachments are ok). > Basically, given a list of (x,y) coordinates, plot the (x,y) point as a > little circle and drop a line down from the point to the x-axis (but not > fill the whole region under the plot). > > It's very nice for plotting a sparse signal, where most of the y's are equal > to zero but some are not. > > Thanks, > Art. > > On Wed, Jun 24, 2009 at 7:18 PM, Eric Firing <ef...@ha...> wrote: >> >> Art wrote: >>> >>> Is there a way to create a line plot similar to Mathematica's >>> PlotFilling->Axis option for ListPlot? >>> >> >> Like this? >> >> >> http://matplotlib.sourceforge.net/examples/pylab_examples/fill_between_demo.html >> >> Eric >>> >>> It is a plot of a vector as a line plot, but for each point, there is a >>> vertical line dropped down to the axis. It is demonstrated on the following >>> link: >>> >>> http://reference.wolfram.com/mathematica/ref/Filling.html >>> >>> With the example given: >>> >>> ListPlot[Table[{k, >>> PDF[BinomialDistribution[50, p], k]}, {p, {0.3, 0.5, 0.8}}, {k, 0, >>> 50}], Filling -> Axis] >>> >>> Thanks! >>> >>> >>> ------------------------------------------------------------------------ >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |
|
From: Jack Yu <jac...@go...> - 2009-06-24 20:08:04
|
Hi everyone,
I am trying to install the latest version of matplotlib from svn. However,
after cd-ing into the matplotlib directory, and running "python setup.py
install --prefix=${path}", I get the following error:
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
error: command 'c++' failed with exit status 1
I don't really understand what I need to do from this error message. Does
it mean that I have to install 'zlib'? I am using python 2.4.3, and numpy
1.2.1.
Thanks,
Jack
|
|
From: guillaume r. <gra...@wy...> - 2009-06-24 20:07:56
|
Hi list :)
I'm having troubles with windows vista and the wxpython toolbar.
it works fine on linux (not tested on any other windows//mac os)
I just see a gray bar where the toolbar should be.
I do something like this:
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as
FigureCanvas
from matplotlib.figure import Figure
self.fig=Figure(figsize=(width, height),dpi=dpi)
self.canvas = FigureCanvas(parent,-1,self.fig)
self.toolbar = NavigationToolbar2Wx(self.canvas)
self.toolbar.Realize()
self.SetToolBar(self.toolbar)
self.toolbar.update()
(I can paste more code if relevant)
I'm wondering what I'm doing wrong?
----
This message contains confidential information and may contain information that is legally privileged. If you have received this message by mistake, please immediately notify us and delete the original message. Thank you.
Ce message contient des informations confidentielles. S'il vous est parvenu par erreur, merci de bien vouloir nous en aviser par retour, de n'en faire aucun usage et de n'en garder aucune copie.
----
|
|
From: Gökhan S. <gok...@gm...> - 2009-06-24 17:47:03
|
On Wed, Jun 24, 2009 at 12:31 PM, Nils Wagner <nw...@ia...>wrote: > > >> >> Could you please share your findings? I would also like to learn how to >> script Blender once I start get going on Gimp. >> > Finally I made it. Please find enclosed a solution. > > Cheers, > > Nils > Hey Nils, With a minute modification I have mad it work here, too. "gimp_version == 2.6.6" Can't we directly access python-fu scripts without using that scm file? To me it seems easier in this way. However still don't know how to externally access python-fu. Thanks for sharing your results. Gökhan |
|
From: Nils W. <nw...@ia...> - 2009-06-24 17:32:08
|
>
> Could you please share your findings? I would also like
>to learn how to
> script Blender once I start get going on Gimp.
Finally I made it. Please find enclosed a solution.
Cheers,
Nils
|
|
From: Eric F. <ef...@ha...> - 2009-06-24 17:18:52
|
Art wrote: > Is there a way to create a line plot similar to Mathematica's > PlotFilling->Axis option for ListPlot? > Like this? http://matplotlib.sourceforge.net/examples/pylab_examples/fill_between_demo.html Eric > It is a plot of a vector as a line plot, but for each point, there is a > vertical line dropped down to the axis. It is demonstrated on the > following link: > > http://reference.wolfram.com/mathematica/ref/Filling.html > > With the example given: > > ListPlot[Table[{k, > PDF[BinomialDistribution[50, p], k]}, {p, {0.3, 0.5, 0.8}}, {k, 0, > 50}], Filling -> Axis] > > Thanks! > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Marcin K. <mr...@gm...> - 2009-06-24 16:40:44
|
Hello everyone, Can't I set programmatically the home dir of Matplotlib by some function call of Matplotlib? I'm sorry, but using environment variable is a bad design in web apps context: suppose several apps run in Apache virtual hosts, under *the same* user and they use Matplotlib. In consequence they all have to write to the same .matplotlib dir! Regards, mk |
|
From: John H. <jd...@gm...> - 2009-06-24 16:39:22
|
On Tue, Jun 23, 2009 at 8:59 AM, Kaushik Ghose<Kau...@hm...> wrote: > Matplotlib made it past the nomination stage and is one of the finalists in the > 'best project for academia' category. Don't forget to register your vote! > > http://sourceforge.net/community/cca09/vote/ Thanks Gaushik -- I also put a link in the sidebar on our homepage that you can click on to vote. The link below will preselect mpl to make your voting a little easier :-) http://sf.net/community/cca09/vote/?f=379 |
|
From: guillaume r. <gra...@wy...> - 2009-06-24 14:52:26
|
Hi list :)
I'm having troubles with windows vista and the wxpython toolbar.
it works fine on linux (not tested on any other windows//mac os)
I just see a gray bar where the toolbar should be.
I do something like this:
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as
FigureCanvas
from matplotlib.figure import Figure
self.fig=Figure(figsize=(width, height),dpi=dpi)
self.canvas = FigureCanvas(parent,-1,self.fig)
self.toolbar = NavigationToolbar2Wx(self.canvas)
self.toolbar.Realize()
self.SetToolBar(self.toolbar)
self.toolbar.update()
(I can paste more code if relevant)
I'm wondering what I'm doing wrong?
----
This message contains confidential information and may contain information that is legally privileged. If you have received this message by mistake, please immediately notify us and delete the original message. Thank you.
Ce message contient des informations confidentielles. S'il vous est parvenu par erreur, merci de bien vouloir nous en aviser par retour, de n'en faire aucun usage et de n'en garder aucune copie.
----
|
|
From: Mariette <jma...@to...> - 2009-06-24 14:13:24
|
Hi and thanks for the answer !! no more trouble :) Jerome Sandro Tosi a écrit : > On Mon, Jun 22, 2009 at 13:33, > jmariette<Jer...@to...> wrote: > >> Hi everybody, >> I have some probleme with Matplot/numpy ! >> I'm using matplot v0.91.2 and I'm trying to get the hist function working !! >> > > a rather old version of matplotlib (that's the name of the project): > we are at 0.98.5.3; try to upgrade and see if the situation improves. > Also, you don't specify the Numpy version (even if I think it's not > relevant here). > > >> I'm using the sample code of matplot: >> > > with this same code and 0.98.5.3 I got the image attached > > >> With the same matplot lib but a different version of numpy I get 2 different >> number of bins !!! How is that possible ??? >> using the 1.0.4 version of numpy, I get len(n) = 50 and len(bins) = 50 ... >> what sounds pretty right to me !! but using the version 1.2.1 (the last one >> I guess) I got len(n) = 50 and len(bins) = 51 What looks weird, doesn't it >> ??? >> >> do you guys have an explanation ?? >> Anybody faced the same problem ? >> > > try to update matplotlib. > > Writing note: your usage of several '?' and '!' could lead to upset > people, me for example. one char is enough to express the concept, no > need to repeat since it means you're screaming and "order" us to > reply, which is never the case on OSS projects users mailinglist. > > Regards, > > > ------------------------------------------------------------------------ > |
|
From: Art <gre...@gm...> - 2009-06-24 14:11:39
|
Is there a way to create a line plot similar to Mathematica's PlotFilling->Axis option for ListPlot? It is a plot of a vector as a line plot, but for each point, there is a vertical line dropped down to the axis. It is demonstrated on the following link: http://reference.wolfram.com/mathematica/ref/Filling.html With the example given: ListPlot[Table[{k, PDF[BinomialDistribution[50, p], k]}, {p, {0.3, 0.5, 0.8}}, {k, 0, 50}], Filling -> Axis] Thanks! |
|
From: Jeff W. <js...@fa...> - 2009-06-24 14:10:47
|
Pierre GM wrote: > On Jun 23, 2009, at 6:01 PM, Jeff Whitaker wrote: > >> Pierre: Doing what you suggest (having Basemap.__init__ >> automatically set self.ax to the current axes) will break pickling, >> so I can't do that. >> > > Oh, I'm sorry for the misunderstanding: I never suggested that > Basemap.ax should be set at creation (apart from Basemap.ax=None). > Instead, I suggested that it would be set when a drawing method is > called that requires access to the underlying Axes (basically, all the > plotting methods). > That way, as soon as something is plotted, we associate the basemap > instance with one particular Axes instance and we stick to it by > default. We can always break the link by changing basemap.ax (that is, > associate to another Axes instance), but we don't have the surprise > of using the last Axes instance by default. > OK, Pierre. Now I understand. That sounds reasonable, and I don't think it will break any existing code. > Now, the more I think about it, the more I'd prefer to separate > Basemaps from Axes. Right now, self.ax assures the connection in a way > I find frustrating. I'd prefer getting rid of Basemap.ax and force > 'ax' to be defined all the time. > Don't exactly know what you mean here - make the ax keyword to the drawing methods mandatory? > Alternatively, we could consider having 2 separate objects: a > Basemap that stores all the projection information but has *NO* > plotting methods, and a MapAxes that inherits from Axes and requires a > specific Basemap attribute at creation. The current plotting routines > would be associated with the MapAxes object. > Hmm. I see how this could work, but what would be the added benefit (beyond what we would get by implementing your first suggestion)? -Jeff |
|
From: breakout@u.washington.edu - 2009-06-24 02:50:50
|
Hello, and desparate salutations... So, I'm on mac osx 10.4.11, trying to complete an upgrade from python 2.5 to python 2.6. I believe I have numpy, tables also installed to the correct match for python 2.6. I've been using "easy_install", which was reasonably easy until I reached this stage. My attempt to use easy_install on matplotlib generated the following disheartening results, see listing below. I begin to fear that matplotlib is not supporting the easy_install approach, and that the "best match" offered by easy_install is simply doomed. How can I back up? I was working with python 2.5, but there was a problem with pylab there as well. Any constructive suggestions would be appreciated. Bob robert-lillys-computer:/System/Library/Frameworks/Python.framework/Versions/Current robertlilly$ easy_install matplotlib Searching for matplotlib Reading http://pypi.python.org/simple/matplotlib/ Reading http://matplotlib.sourceforge.net Reading https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194 Reading https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474 Reading http://sourceforge.net/project/showfiles.php?group_id=80706 Best match: matplotlib 0.91.1 Downloading http://pypi.python.org/packages/source/m/matplotlib/matplotlib-0.91.1.tar.gz#md5=56a9344b077b5accbc4823be19f69dd6 Processing matplotlib-0.91.1.tar.gz Running matplotlib-0.91.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-JeJYqz/matplotlib-0.91.1/egg-dist-tmp-P91oPS /tmp/easy_install-JeJYqz/matplotlib-0.91.1/setupext.py:67: DeprecationWarning: the sets module is deprecated from sets import Set ============================================================================ BUILDING MATPLOTLIB matplotlib: 0.91.1 python: 2.6.2 (r262:71600, Apr 16 2009, 09:17:39) [GCC 4.0.1 (Apple Computer, Inc. build 5250)] platform: darwin REQUIRED DEPENDENCIES numpy: 1.3.0 freetype2: found, but unknown version (no pkg-config) OPTIONAL BACKEND DEPENDENCIES libpng: found, but unknown version (no pkg-config) * Could not find 'libpng' headers in any of * '/usr/local/include', '/usr/include', * '/sw/include', '.' Tkinter: Tkinter: 70220, Tk: 8.4, Tcl: 8.4 wxPython: no * wxPython not found Gtk+: no * Building for Gtk+ requires pygtk; you must be able * to "import gtk" in your build/install environment Qt: no Qt4: no Cairo: no OPTIONAL DATE/TIMEZONE DEPENDENCIES datetime: present, version unknown dateutil: matplotlib will provide pytz: matplotlib will provide OPTIONAL USETEX DEPENDENCIES /tmp/easy_install-JeJYqz/matplotlib-0.91.1/setupext.py:491: DeprecationWarning: os.popen4 is deprecated. Use the subprocess module. stdin, stdout = os.popen4('dvipng -version') dvipng: 1.9 /tmp/easy_install-JeJYqz/matplotlib-0.91.1/setupext.py:504: DeprecationWarning: os.popen4 is deprecated. Use the subprocess module. stdin, stdout = os.popen4(command) ghostscript: 8.57 /tmp/easy_install-JeJYqz/matplotlib-0.91.1/setupext.py:513: DeprecationWarning: os.popen4 is deprecated. Use the subprocess module. stdin, stdout = os.popen4('latex -version') latex: 3.141592 /tmp/easy_install-JeJYqz/matplotlib-0.91.1/setupext.py:525: DeprecationWarning: os.popen4 is deprecated. Use the subprocess module. stdin, stdout = os.popen4('pdftops -v') EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES configobj: matplotlib will provide enthought.traits: matplotlib will provide [Edit setup.cfg to suppress the above messages] ============================================================================ warning: no files found matching 'NUMARRAY_ISSUES' warning: no files found matching 'MANIFEST' warning: no files found matching 'matplotlibrc' warning: no files found matching 'lib/matplotlib/toolkits' no previously-included directories found matching 'examples/_tmp_*' src/_image.cpp:5:17: error: png.h: No such file or directory src/_image.cpp:5:17: error: png.h: No such file or directory src/_image.cpp: In member function 'Py::Object Image::write_png(const Py::Tuple&)': src/_image.cpp:646: error: 'png_structp' was not declared in this scope src/_image.cpp:646: error: expected `;' before 'png_ptr' src/_image.cpp:647: error: 'png_infop' was not declared in this scope src/_image.cpp:647: error: expected `;' before 'info_ptr' src/_image.cpp:648: error: aggregate 'png_color_8_struct sig_bit' has incomplete type and cannot be defined src/_image.cpp:649: error: 'png_uint_32' was not declared in this scope src/_image.cpp:649: error: expected `;' before 'row' src/_image.cpp:652: error: 'png_bytep' was not declared in this scope src/_image.cpp:652: error: 'row_pointers' was not declared in this scope src/_image.cpp:652: error: expected type-specifier before 'png_bytep' src/_image.cpp:652: error: expected `;' before 'png_bytep' src/_image.cpp:654: error: 'row' was not declared in this scope src/_image.cpp:660: error: type '<type error>' argument given to 'delete', expected pointer src/_image.cpp:665: error: 'png_ptr' was not declared in this scope src/_image.cpp:665: error: 'PNG_LIBPNG_VER_STRING' was not declared in this scope src/_image.cpp:665: error: 'png_create_write_struct' was not declared in this scope src/_image.cpp:669: error: type '<type error>' argument given to 'delete', expected pointer src/_image.cpp:673: error: 'info_ptr' was not declared in this scope src/_image.cpp:673: error: 'png_create_info_struct' was not declared in this scope src/_image.cpp: In member function 'Py::Object Image::write_png(const Py::Tuple&)': src/_image.cpp:646: error: 'png_structp' was not declared in this scope src/_image.cpp:677: error: 'png_destroy_write_struct' was not declared in this scope src/_image.cpp:646: error: expected `;' before 'png_ptr'src/_image.cpp:678: error: type '<type error>' argument given to 'delete', expected pointer src/_image.cpp:647: error: 'png_infop' was not declared in this scope src/_image.cpp:647: error: expected `;' before 'info_ptr' src/_image.cpp:648: error: aggregate 'png_color_8_struct sig_bit' has incomplete type and cannot be defined src/_image.cpp:649: error: 'png_uint_32' was not declared in this scope src/_image.cpp:649: error: expected `;' before 'row' src/_image.cpp:652: error: 'png_bytep' was not declared in this scope src/_image.cpp:652: error: 'row_pointesrc/_image.cpp:685: error: 'png_destroy_write_struct' was not declared in this scope src/_image.cpp:686: error: type '<type error>' argument given to 'delete', expected pointer src/_image.cpp:690: error: 'png_init_io' was not declared in this scope rs' was not declared in this scope src/_image.cpp:693: error: 'PNG_COLOR_TYPE_RGB_ALPHA' was not declared in this scope src/_image.cpp:652: error: expected type-specifier before 'png_bytep' src/_image.cpp:693: error: 'PNG_INTERLACE_NONE' was not declared in this scope src/_image.cpp:694: error: 'PNG_COMPRESSION_TYPE_BASE' was not declared in this scope src/_image.cpp:694: error: 'PNG_FILTER_TYPE_BASE' was not declared in this scope src/_image.cpp:652: error: expected `;' before 'png_bytep' src/_image.cpp:694: error: 'png_set_IHDR' was not declared in this scope src/_image.cpp:654: error: 'row' was not declared in this scope src/_image.cpp:703: error: 'png_set_sBIT' was not declared in this scope src/_image.cpp:705: error: 'png_write_info' was not declared in this scope src/_image.cpp:706: error: 'png_write_image' was not declared in this scope src/_image.cpp:707: error: 'png_write_end' was not declared in this scope src/_image.cpp:708: error: 'png_destroy_write_struct' was not declared in this scope src/_image.cpp:711: error: type '<type error>' argument given to 'delete', expected pointer src/_image.cpp:660: error: type '<type error>' argument given to 'delete', expected pointer src/_image.cpp:665: error: 'png_ptr' was not declared in this scope src/_image.cpp:665: error: 'PNG_LIBPNG_VER_STRING' was not declared in this scope src/_image.cpp:665: error: 'png_create_write_struct' was not declared in this scope src/_image.cpp:669: error: type '<type error>' argument given to 'delete', expected pointer src/_image.cpp:673: error: 'info_ptr' was not declared in this scope src/_image.cpp:673: error: 'png_create_info_struct' was not declared in this scope src/_image.cpp:677: error: 'png_destroy_write_struct' was not declared in this scope src/_image.cpp:678: error: type '<type error>' argument given to 'delete', expected pointer src/_image.cpp:685: error: 'png_destroy_write_struct' was not declared in this scope src/_image.cpp:686: error: type '<type error>' argument given to 'delete', expected pointer src/_image.cpp:690: error: 'png_init_io' was not declared in this scope src/_image.cpp:693: error: 'PNG_COLOR_TYPE_RGB_ALPHA' was not declared in this scope src/_image.cpp:693: error: 'PNG_INTERLACE_NONE' was not declared in this scope src/_image.cpp:694: error: 'PNG_COMPRESSION_TYPE_BASE' was not declared in this scope src/_image.cpp:694: error: 'PNG_FILTER_TYPE_BASE' was not declared in this scope src/_image.cpp:694: error: 'png_set_IHDR' was not declared in this scope src/_image.cpp:703: error: 'png_set_sBIT' was not declared in this scope src/_image.cpp:705: error: 'png_write_info' was not declared in this scope src/_image.cpp:706: error: 'png_write_image' was not declared in this scope src/_image.cpp:707: error: 'png_write_end' was not declared in this scope src/_image.cpp:708: error: 'png_destroy_write_struct' was not declared in this scope src/_image.cpp:711: error: type '<type error>' argument given to 'delete', expected pointer src/_image.cpp: In member function 'Py::Object _image_module::readpng(const Py::Tuple&)': src/_image.cpp:860: error: 'png_byte' was not declared in this scope src/_image.cpp:860: error: expected `;' before 'header' src/_image.cpp:866: error: 'header' was not declared in this scope src/_image.cpp:868: error: 'header' was not declared in this scope src/_image.cpp:868: error: 'png_sig_cmp' was not declared in this scope src/_image.cpp:873: error: 'png_structp' was not declared in this scope src/_image.cpp:873: error: expected `;' before 'png_ptr' src/_image.cpp:875: error: 'png_ptr' was not declared in this scope src/_image.cpp:878: error: 'png_infop' was not declared in this scope src/_image.cpp:878: error: expected `;' before 'info_ptr' src/_image.cpp:879: error: 'info_ptr' was not declared in this scope src/_image.cpp:882: error: 'png_ptr' was not declared in this scope src/_image.cpp:882: error: 'png_jmpbuf' was not declared in this scope src/_image.cpp:885: error: 'png_ptr' was not declared in this scope src/_image.cpp:885: error: 'png_init_io' was not declared in this scope src/_image.cpp:886: error: 'png_set_sig_bytes' was not declared in this scope src/_image.cpp:888: error: 'info_ptr' was not declared in this scope src/_image.cpp:888: error: 'png_read_info' was not declared in this scope src/_image.cpp:890: error: 'png_uint_32' was not declared in this scope src/_image.cpp:890: error: expected `;' before 'width' src/_image.cpp:891: error: expected `;' before 'height' src/_image.cpp:894: error: 'PNG_COLOR_TYPE_GRAY' was not declared in this scope src/_image.cpp:895: error: 'PNG_COLOR_TYPE_GRAY_ALPHA' was not declared in this scope src/_image.cpp:896: error: 'png_set_gray_to_rgb' was not declared in this scope src/_image.cpp:897: error: 'PNG_COLOR_TYPE_PALETTE' was not declared in this scope src/_image.cpp:898: error: 'png_set_palette_to_rgb' was not declared in this scope src/_image.cpp:902: error: 'png_set_strip_16' was not declared in this scope src/_image.cpp:905: error: 'png_set_interlace_handling' was not declared in this scope src/_image.cpp:906: error: 'png_read_update_info' was not declared in this scope src/_image.cpp:908: error: 'PNG_COLOR_TYPE_RGBA' was not declared in this scope src/_image.cpp:909: error: 'PNG_COLOR_TYPE_RGB' was not declared in this scope src/_image.cpp: In member function 'Py::Object _image_module::readpng(const Py::Tuple&)': src/_image.cpp:860: error: 'png_byte' was not declared in this scopesrc/_image.cpp:915: error: 'png_jmpbuf' was not declared in this scope src/_image.cpp:860: error: expected `;' before 'header' src/_image.cpp:918: error: 'png_bytep' was not declared in this scope src/_image.cpp:918: error: 'row_pointers' was not declared in this scope src/_image.cpp:918: error: expected type-specifier before 'png_bytep' src/_image.cpp:918: error: expected `;' before 'png_bytep' src/_image.cpp:919: error: expected `;' before 'row' src/_image.cpp:921: error: 'row' was not declared in this scope src/_image.cpp:921: error: 'height' was not declared in this scope src/_image.cpp:922: error: expected type-specifier before 'png_byte' src/_image.cpp:922: error: expected `;' before 'png_byte' src/_image.cpp:924: error: 'png_read_image' was not declared in this scope src/_image.cpp:866: error: 'header' was not declared in this scope src/_image.cpp:868: error: 'header' was not declared in this scope src/_image.cpp:868: error: 'png_sig_cmp' was not declared in this scope src/_image.cpp:929: error: 'height' was not declared in this scope src/_image.cpp:930: error: 'width' was not declared in this scope src/_image.cpp:873: error: 'png_structp' was not declared in this scope src/_image.cpp:873: error: expected `;' before 'png_ptr' src/_image.cpp:875: error: 'png_ptr' was not declared in this scope src/_image.cpp:936: error: expected `;' before 'y' src/_image.cpp:936: error: 'y' was not declared in this scopesrc/_image.cpp:878: error: 'png_infop' was not declared in this scope src/_image.cpp:878: error: expected `;' before 'info_ptr' src/_image.cpp:938: error: expected `;' before 'x' src/_image.cpp:879: error: 'info_ptr' was not declared in this scope src/_image.cpp:938: error: 'x' was not declared in this scope src/_image.cpp:940: error: 'ptr' was not declared in this scope src/_image.cpp:882: error: 'png_ptr' was not declared in this scope src/_image.cpp:882: error: 'png_jmpbuf' was not declared in this scope src/_image.cpp:885: error: 'png_ptr' was not declared in this scope src/_image.cpp:885: error: 'png_init_io' was not declared in this scope src/_image.cpp:886: error: 'png_set_sig_bytes' was not declared in this scope src/_image.cpp:888: error: 'info_ptr' was not declared in this scope src/_image.cpp:888: error: 'png_read_info' was not declared in this scopesrc/_image.cpp:951: error: 'png_read_end' was not declared in this scope src/_image.cpp:890: error: 'png_uint_32' was not declared in this scope src/_image.cpp:890: error: expected `;' before 'width' src/_image.cpp:891: error: expected `;' before 'height' src/_image.cpp:952: error: 'png_infopp_NULL' was not declared in this scope src/_image.cpp:894: error: 'PNG_COLOR_TYPE_GRAY' was not declared in this scope src/_image.cpp:952: error: 'png_destroy_read_struct' was not declared in this scope src/_image.cpp:895: error: 'PNG_COLOR_TYPE_GRAY_ALPHA' was not declared in this scope src/_image.cpp:896: error: 'png_set_gray_to_rgb' was not declared in this scope src/_image.cpp:897: error: 'PNG_COLOR_TYPE_PALETTE' was not declared in this scope src/_image.cpp:898: error: 'png_set_palette_to_rgb' was not declared in this scope src/_image.cpp:902: error: 'png_set_strip_16' was not declared in this scope src/_image.cpp:905: error: 'png_set_interlace_handling' was not declared in this scope src/_image.cpp:906: error: 'png_read_update_info' was not declared in this scope src/_image.cpp:908: error: 'PNG_COLOR_TYPE_RGBA' was not declared in this scope src/_image.cpp:909: error: 'PNG_COLOR_TYPE_RGB' was not declared in this scope src/_image.cpp:956: error: type '<type error>' argument given to 'delete', expected pointersrc/_image.cpp:915: error: 'png_jmpbuf' was not declared in this scope src/_image.cpp:918: error: 'png_bytep' was not declared in this scope src/_image.cpp:918: error: 'row_pointers' was not declared in this scope src/_image.cpp:918: error: expected type-specifier before 'png_bytep' src/_image.cpp:918: error: expected `;' before 'png_bytep' src/_image.cpp:919: error: expected `;' before 'row' src/_image.cpp:921: error: 'row' was not declared in this scope src/_image.cpp:921: error: 'height' was not declared in this scope src/_image.cpp:922: error: expected type-specifier before 'png_byte' src/_image.cpp:922: error: expected `;' before 'png_byte' src/_image.cpp:924: error: 'png_read_image' was not declared in this scope src/_image.cpp:929: error: 'height' was not declared in this scope src/_image.cpp:930: error: 'width' was not declared in this scope src/_image.cpp:936: error: expected `;' before 'y' src/_image.cpp:936: error: 'y' was not declared in this scope src/_image.cpp:938: error: expected `;' before 'x' src/_image.cpp:938: error: 'x' was not declared in this scope src/_image.cpp:940: error: 'ptr' was not declared in this scope src/_image.cpp:951: error: 'png_read_end' was not declared in this scope src/_image.cpp:952: error: 'png_infopp_NULL' was not declared in this scope src/_image.cpp:952: error: 'png_destroy_read_struct' was not declared in this scope src/_image.cpp:956: error: type '<type error>' argument given to 'delete', expected pointer lipo: can't figure out the architecture type of: /var/tmp//ccd4MhN1.out error: Setup script exited with error: command 'gcc' failed with exit status 1 Exception OSError: (2, 'No such file or directory', 'src/image.cpp') in <bound method CleanUpFile.__del__ of <setupext.CleanUpFile instance at 0x2226df0>> ignored Exception OSError: (2, 'No such file or directory', 'src/transforms.cpp') in <bound method CleanUpFile.__del__ of <setupext.CleanUpFile instance at 0x2226710>> ignored Exception OSError: (2, 'No such file or directory', 'src/backend_agg.cpp') in <bound method CleanUpFile.__del__ of <setupext.CleanUpFile instance at 0x22268c8>> ignored |
|
From: Gökhan S. <gok...@gm...> - 2009-06-24 02:23:00
|
Hello, As shown in this screenshot http://img195.imageshack.us/img195/9186/timeseries.png I am trying to plot a timeseries using mpl. There is a minute detail that bothers me. I couldn't figure out how to hide the timezone information on my xlabel (here is CST) After loading the data, I use mpl's num2data funtion to create datetime objects from second-from-number elements. I get a nice looking figure with autofmt_xdate() but I do not know what should I do to hide the extra unneeded information. In [2]: time_adj = array([num2date(1 + int(Time[i])/86400.0) for i in range(len(Time))]) In [3]: len time_adj ------> len(time_adj) Out[3]: 3763 In [4]: time_adj[0] Out[4]: datetime.datetime(1, 1, 1, 13, 13, 46, tzinfo=<UTC>) In [5]: fig = figure() In [6]: ax1 = fig.add_subplot(111) In [7]: ax1.plot(time_adj, dccnConc) Out[7]: [<matplotlib.lines.Line2D object at 0xaed078c>] In [8]: fig.autofmt_xdate() Thanks, Gökhan |