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
(10) |
3
(8) |
4
(6) |
5
(10) |
6
(1) |
7
(3) |
|
8
|
9
(5) |
10
(4) |
11
(9) |
12
(6) |
13
(12) |
14
(3) |
|
15
(2) |
16
(13) |
17
(7) |
18
(14) |
19
(7) |
20
(3) |
21
(1) |
|
22
|
23
(8) |
24
(6) |
25
(3) |
26
(5) |
27
(10) |
28
(5) |
|
29
(1) |
30
(7) |
|
|
|
|
|
|
From: Chao Y. <cha...@gm...> - 2012-04-28 22:19:36
|
Dear all, I want to make an example of collections.LineCollection instance. So I have In [150]: line Out[150]: [(0, 0), (0, 1), (1, 1), (1, 0)] but I use whatever the following I meet with an Assertion Error: mat.collections.LineCollection(np.array(line)) mat.collections.LineCollection(tuple(line)) mat.collections.LineCollection(line) could anyone explain me a little bit? thanks et cheers, Chao -- *********************************************************************************** Chao YUE Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL) UMR 1572 CEA-CNRS-UVSQ Batiment 712 - Pe 119 91191 GIF Sur YVETTE Cedex Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16 ************************************************************************************ |
|
From: julien t. <ju...@ta...> - 2012-04-28 12:13:19
|
First cpp stands for C Pre Processor, this tool usually does macro substitution in c, objective c, c++. Hence Cpp in the object is pretty much confusing when it seems to be talking about C++. 2012/4/27 Benjamin Root <ben...@ou...>: > > > On Fri, Apr 13, 2012 at 4:24 PM, Ignas Anikevicius <ani...@gm...> > wrote: >> >> Dear all, >> >> I was wondering if it is possible to use matplotlib from C++ directly >> and I have found an example on how to do this on StackOverflow: >> >> Hello, >> http://stackoverflow.com/questions/2509156/anyone-knows-a-matplotlib-equivalent-in-c-or-c >> > > Well, using that "method", you could interface with any python libraries in > C++, but you wouldn't be able to do anything useful. > I dont quite get it Ben. The stackoverflow is pretty revelant. using #include <python.h> is smart: you can avoid all the free/malloc in GC byt using python data structure and use this in your C code. And I know C/C++ dev using this trick in real open source project since python.h is less complicated to use than all the kombinat from boost. But, I would not use this method. (Question of taste and of complexity). There is another simpler solution however : Do everything in python : python is a very powerfull gluing langage, the GIL ensuring that non thread-safe code is thread safe, it is very forgiving with code not design for concurrency. ***** ctypes permits the direct loading and binding with C++ classes, or C functions. http://stackoverflow.com/questions/1615813/how-to-use-c-classes-with-ctypes http://docs.python.org/library/ctypes.html **** Another solution that seems impressive, is writing C/C++ extensions in python. It is very easy (I self learnt it in one day even though IQ test rank me 20 points below average). http://docs.python.org/extending/extending.html The benefit is you could use your C++ code to return native python object (set, array, dict, string, unicode, int (arbitrary long int) ...). My advice for big stream of data is you can return an iterator on the stream of data, thus limiting the memory usage if it is important (dont if you dont need it, premature optimization is the root of all evil). if your c++ code becomes an extension of python, it's deployment in an ecosystem of python instances will be made easier through the use of distribute. This gluing will ensure your data will flow without all the quirks related to popen (caching of stdout/in, no control on mermory use , interruptions, portability issues ...). The first solution is easy to achieve, the second solution requires more time but is funnier. Cheers; -- Jul |
|
From: francesco o. <fra...@gm...> - 2012-04-28 09:53:08
|
Hi,
if I understand well, you have a program producing data which usually are
stored in a file,
then you load such file into a matplotlib script.
Your goal is trasfering data from your program to matplotlib.
If this is the case you can follow two routes:
1) Modify the progam in order to print the information on standard output.
Then, through the function popen, you execute your program into
matplotlib, reading directly
the data without any external file.
2) if you cannot mpdify you program, you can execute in popen something
like:
program file.out; cat file.out.
Again, your data are on the displayed on the standard output which is
captured by popen
Francesco
2012/4/27 Moore, Eric (NIH/NIDDK) [F] <eri...@ni...>
> > -----Original Message-----
> > From: Ignas Anikevicius [mailto:ani...@gm...]
> > Sent: Friday, April 13, 2012 4:25 PM
> > To: mat...@li...
> > Subject: [Matplotlib-users] Matplotlib and Cpp
> >
> > Dear all,
> >
> > I was wondering if it is possible to use matplotlib from C++ directly
> > and I have found an example on how to do this on StackOverflow:
> >
> > http://stackoverflow.com/questions/2509156/anyone-knows-a-matplotlib-
> > equivalent-in-c-or-c
> >
> > However, my question is about piping. Where could I find any tutorials
> > on how to pipe data directly to matplotlib so that I would not need to
> > right it to a file and then read it?
> >
> > Also, does matplotlib benefit from usage of cython and if it does, are
> > there any things I should know before just trying to compile a
> > matplotlib script with cython?
> >
> > All best,
> > Ignas A.
> >
>
> You're trying to solve the wrong problem. If you want to use matplotlib
> to show your results this way the easiest thing to do would be to rework so
> that python was the driver. i.e wrap your C++ code so that a python
> program called it instead of trying to call python from C++.
>
> The better solution here is probably to abandon matplotlib and use a
> plotting library that has C bindings. One example is DISLIN, but I'm sure
> there are others (and don't take this as a recommendation.)
>
> Eric
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
--
Cordiali saluti, Dr.Oteri Francesco
|
|
From: Benjamin R. <ben...@ou...> - 2012-04-28 02:02:53
|
On Friday, April 27, 2012, tanim wrote: > Hello: > > Are there any restrictions or best practices for posting problems or > issues one has with matplotlib/pyplot? I ask, because one of the data sets > that demonstrates unexpected behavior in matplotlib is ~300k in size (I > can reduce it if necessary). > > Tanim Islam > > If you need to use a particular dataset to demonstrate a problem, what would probably work best is to put it in a Dropbox, or google drive, etc. account and provide a link to download it. The same goes for images that are too large, as well. I hope that helps! Ben Root |
|
From: tanim <tan...@gm...> - 2012-04-28 01:19:06
|
Hello: Are there any restrictions or best practices for posting problems or issues one has with matplotlib/pyplot? I ask, because one of the data sets that demonstrates unexpected behavior in matplotlib is ~300k in size (I can reduce it if necessary). Tanim Islam |