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
(4) |
2
(17) |
3
(9) |
4
(5) |
5
(5) |
6
(2) |
7
|
8
(7) |
9
(6) |
10
(1) |
11
(4) |
12
(12) |
13
(7) |
14
(1) |
15
|
16
|
17
(12) |
18
(11) |
19
(6) |
20
(6) |
21
(2) |
22
(5) |
23
(1) |
24
(4) |
25
(6) |
26
(3) |
27
(2) |
28
|
29
(2) |
30
(12) |
31
(8) |
|
|
|
From: Michael D. <md...@st...> - 2013-07-04 21:11:35
|
I see -- you want to basically interpolate between points? I don't think there's anything built in to matplotlib to do that, but you could always do that interpolation outside and just update the graph more often. Mike On 07/04/2013 04:28 PM, v0idnull wrote: > eh.... > > Let me explain my problem in a different way: > > Every two seconds I get a value from a service. Let's say I over 8 > seconds I get 1, 5, 10, 5 as values. > > So if my application updates the graph every two seconds, this will > look choppy and ugly. This is because every two seconds, an entire > line is added onto the graph between the two points. > > Imagine if I could control the drawing of said line though. If I could > draw the individual pixels of the line every couple of ticks instead > of just dumping a line in every two seconds, I will end up with a nice > smooth animation. It may not be 100% real time anymore, but my focus > on this personal project of mine is vanity, not practicality ;) > > I hope this better explains what I am trying to accomplish... > > Thanks, > --alex > > On 13-07-04 04:09 PM, Michael Droettboom wrote: >> Have you looked at the simple_anim.py example -- other than the >> networking piece, it seems to do what you describe, and it's pretty >> fast. Maybe start from that and make changes until it gets slow in >> order to determine where the slowness comes from...? >> >> Mike >> >> On 07/03/2013 09:19 PM, v0idnull wrote: >>> I am receiving a number from a server every two seconds. I would >>> like to plot this number.out over time for the past say... 30 polls. >>> >>> Would it be possible to use... Anything, to produce a smooth >>> animation of the plot line getting drawn? As it stands now the >>> animation is well... Quite choppy. ;) >>> >>> I'm using pygame currently to render my graphs on this full screen >>> application I'm making just for my self. I am not bound to it though >>> if there are better linux-only things out there. >>> >>> Thanks in advance, >>> --alex >>> >>> >>> ------------------------------------------------------------------------------ >>> This SF.net email is sponsored by Windows: >>> >>> Build for Windows Store. >>> >>> http://p.sf.net/sfu/windows-dev2dev >>> >>> >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> !DSPAM:51d5d60416102691037314! >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Windows: >> >> Build for Windows Store. >> >> http://p.sf.net/sfu/windows-dev2dev >> >> !DSPAM:51d5d60416102691037314! >> >> >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> >> !DSPAM:51d5d60416102691037314! > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
From: v0idnull <v0i...@ps...> - 2013-07-04 20:28:16
|
eh.... Let me explain my problem in a different way: Every two seconds I get a value from a service. Let's say I over 8 seconds I get 1, 5, 10, 5 as values. So if my application updates the graph every two seconds, this will look choppy and ugly. This is because every two seconds, an entire line is added onto the graph between the two points. Imagine if I could control the drawing of said line though. If I could draw the individual pixels of the line every couple of ticks instead of just dumping a line in every two seconds, I will end up with a nice smooth animation. It may not be 100% real time anymore, but my focus on this personal project of mine is vanity, not practicality ;) I hope this better explains what I am trying to accomplish... Thanks, --alex On 13-07-04 04:09 PM, Michael Droettboom wrote: > Have you looked at the simple_anim.py example -- other than the > networking piece, it seems to do what you describe, and it's pretty > fast. Maybe start from that and make changes until it gets slow in > order to determine where the slowness comes from...? > > Mike > > On 07/03/2013 09:19 PM, v0idnull wrote: >> I am receiving a number from a server every two seconds. I would like >> to plot this number.out over time for the past say... 30 polls. >> >> Would it be possible to use... Anything, to produce a smooth >> animation of the plot line getting drawn? As it stands now the >> animation is well... Quite choppy. ;) >> >> I'm using pygame currently to render my graphs on this full screen >> application I'm making just for my self. I am not bound to it though >> if there are better linux-only things out there. >> >> Thanks in advance, >> --alex >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Windows: >> >> Build for Windows Store. >> >> http://p.sf.net/sfu/windows-dev2dev >> >> >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > !DSPAM:51d5d60416102691037314! > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > > !DSPAM:51d5d60416102691037314! > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > !DSPAM:51d5d60416102691037314! |
From: Michael D. <md...@st...> - 2013-07-04 20:11:02
|
It looks like the version of Numpy installed on your machine is too old for the latest version of matplotlib. You'll need at least version 1.5, I believe (though we neglected to update the documentation about this requirement). Mike On 07/03/2013 05:13 PM, David Jonathan Pryce Morris wrote: > I am new to python and when using Matplotlib 0.99.1.1 [Scientific Linux > 6.3, Python 2.6] to plot I get the following error: > > /usr/lib64/python2.6/site-packages/matplotlib/backends/backend_gtk.py:621: DeprecationWarning: Use the new widget gtk.Tooltip > self.tooltips = gtk.Tooltips() > > This is when the program reaches: > > plt.show() > > Where plt is the matplotlib.pyplot. Prior to this point of the code I am > able to produce pdf files of the figure by using plt.savefig(fname). > > Reading other online comments I have tried to update Matplotlib. First I > installed the dependences via > > sudo yum-builddep python-matplotlib > > Then: > > sudo yum install matplotlib > > This then tells me that I have the latest version of matplotlib and > therefore does nothing. There are more recent versions available from > the Matplotlib website. I tried to install the latest version after > unpacking the tar.gz file. After using the command: > > sudo python setup.py install > > I get the message below ending with error: > > command 'gcc' failed with exit status 1 > > Can anyone suggest a way to install the latest matplotlib or stop the > message I get with using plt.show()? > > Jonathan > > > > > > basedirlist is: ['/usr/local', '/usr', 'usr/lib64'] > ============================================================================ > BUILDING MATPLOTLIB > matplotlib: 1.2.1 > python: 2.6.6 (r266:84292, Jun 18 2012, 09:57:52) [GCC > 4.4.6 20110731 (Red Hat 4.4.6-3)] > platform: linux2 > > REQUIRED DEPENDENCIES > numpy: 1.4.1 > freetype2: 9.22.3 > > OPTIONAL BACKEND DEPENDENCIES > libpng: 1.2.49 > Tkinter: Tkinter: 73770, Tk: 8.5, Tcl: 8.5 > * Guessing the library and include directories > for > * Tcl and Tk because the tclConfig.sh and > * tkConfig.sh could not be found and/or parsed. > Gtk+: gtk+: 2.18.9, glib: 2.22.5, pygtk: 2.16.0, > pygobject: 2.20.0 > Mac OS X native: no > Qt: no > Qt4: Qt: 4.6.2, PyQt4: 4.7.4 > PySide: no > Cairo: 1.8.6 > > OPTIONAL DATE/TIMEZONE DEPENDENCIES > dateutil: 1.4.1 > pytz: 2010h > > OPTIONAL USETEX DEPENDENCIES > dvipng: no > ghostscript: 8.70 > latex: 3.141592 > pdftops: 0.12.4 > > [Edit setup.cfg to suppress the above messages] > ============================================================================ > pymods ['pylab'] > packages ['matplotlib', 'matplotlib.backends', > 'matplotlib.backends.qt4_editor', 'matplotlib.projections', > 'matplotlib.testing', 'matplotlib.testing.jpl_units', > 'matplotlib.tests', 'mpl_toolkits', 'mpl_toolkits.mplot3d', > 'mpl_toolkits.axes_grid', 'mpl_toolkits.axes_grid1', > 'mpl_toolkits.axisartist', 'matplotlib.sphinxext', 'matplotlib.tri', > 'matplotlib.delaunay'] > running install > running build > running build_py > copying lib/matplotlib/mpl-data/matplotlibrc -> > build/lib.linux-x86_64-2.6/matplotlib/mpl-data > running build_ext > building 'matplotlib.backends._backend_agg' extension > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC > -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include > -Iusr/lib64/include -Iusr/lib64/python2.6/include > -Iusr/lib64/python2.6/site-packages/include > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.6 -c agg24/src/agg_trans_affine.cpp -o > build/temp.linux-x86_64-2.6/agg24/src/agg_trans_affine.o > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC > -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include > -Iusr/lib64/include -Iusr/lib64/python2.6/include > -Iusr/lib64/python2.6/site-packages/include > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.6 -c agg24/src/agg_bezier_arc.cpp -o > build/temp.linux-x86_64-2.6/agg24/src/agg_bezier_arc.o > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC > -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include > -Iusr/lib64/include -Iusr/lib64/python2.6/include > -Iusr/lib64/python2.6/site-packages/include > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.6 -c agg24/src/agg_curves.cpp -o > build/temp.linux-x86_64-2.6/agg24/src/agg_curves.o > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC > -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include > -Iusr/lib64/include -Iusr/lib64/python2.6/include > -Iusr/lib64/python2.6/site-packages/include > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.6 -c agg24/src/agg_vcgen_dash.cpp -o > build/temp.linux-x86_64-2.6/agg24/src/agg_vcgen_dash.o > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC > -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include > -Iusr/lib64/include -Iusr/lib64/python2.6/include > -Iusr/lib64/python2.6/site-packages/include > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.6 -c agg24/src/agg_vcgen_stroke.cpp -o > build/temp.linux-x86_64-2.6/agg24/src/agg_vcgen_stroke.o > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC > -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include > -Iusr/lib64/include -Iusr/lib64/python2.6/include > -Iusr/lib64/python2.6/site-packages/include > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.6 -c agg24/src/agg_image_filters.cpp -o > build/temp.linux-x86_64-2.6/agg24/src/agg_image_filters.o > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC > -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include > -Iusr/lib64/include -Iusr/lib64/python2.6/include > -Iusr/lib64/python2.6/site-packages/include > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.6 -c src/mplutils.cpp -o > build/temp.linux-x86_64-2.6/src/mplutils.o > In file included from /usr/include/python2.6/pyconfig.h:6, > from /usr/include/python2.6/Python.h:8, > from src/mplutils.h:18, > from src/mplutils.cpp:6: > /usr/include/python2.6/pyconfig-64.h:1034:1: warning: "_POSIX_C_SOURCE" > redefined > In file included > from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c > ++/4.4.6/x86_64-redhat-linux/bits/os_defines.h:39, > > from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c > ++/4.4.6/x86_64-redhat-linux/bits/c++config.h:1687, > > from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c > ++/4.4.6/iostream:39, > from src/mplutils.cpp:3: > /usr/include/features.h:162:1: warning: this is the location of the > previous definition > In file included from /usr/include/python2.6/pyconfig.h:6, > from /usr/include/python2.6/Python.h:8, > from src/mplutils.h:18, > from src/mplutils.cpp:6: > /usr/include/python2.6/pyconfig-64.h:1043:1: warning: "_XOPEN_SOURCE" > redefined > In file included > from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c > ++/4.4.6/x86_64-redhat-linux/bits/os_defines.h:39, > > from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c > ++/4.4.6/x86_64-redhat-linux/bits/c++config.h:1687, > > from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c > ++/4.4.6/iostream:39, > from src/mplutils.cpp:3: > /usr/include/features.h:164:1: warning: this is the location of the > previous definition > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC > -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include > -Iusr/lib64/include -Iusr/lib64/python2.6/include > -Iusr/lib64/python2.6/site-packages/include > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.6 -c src/agg_py_transforms.cpp -o > build/temp.linux-x86_64-2.6/src/agg_py_transforms.o > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC > -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include > -Iusr/lib64/include -Iusr/lib64/python2.6/include > -Iusr/lib64/python2.6/site-packages/include > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.6 -c CXX/cxxsupport.cxx -o > build/temp.linux-x86_64-2.6/CXX/cxxsupport.o > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC > -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include > -Iusr/lib64/include -Iusr/lib64/python2.6/include > -Iusr/lib64/python2.6/site-packages/include > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.6 -c CXX/IndirectPythonInterface.cxx -o > build/temp.linux-x86_64-2.6/CXX/IndirectPythonInterface.o > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC > -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include > -Iusr/lib64/include -Iusr/lib64/python2.6/include > -Iusr/lib64/python2.6/site-packages/include > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.6 -c CXX/cxx_extensions.cxx -o > build/temp.linux-x86_64-2.6/CXX/cxx_extensions.o > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC > -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include > -Iusr/lib64/include -Iusr/lib64/python2.6/include > -Iusr/lib64/python2.6/site-packages/include > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.6 -c CXX/cxxextensions.c -o > build/temp.linux-x86_64-2.6/CXX/cxxextensions.o > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC > -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include > -Iusr/lib64/include -Iusr/lib64/python2.6/include > -Iusr/lib64/python2.6/site-packages/include > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include -Isrc > -Iagg24/include -I. > -I/usr/lib64/python2.6/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/usr/include/python2.6 -c src/backend_agg.cpp -o > build/temp.linux-x86_64-2.6/src/backend_agg.o > In file included from src/backend_agg.cpp:42: > src/file_compat.h:4:32: error: numpy/npy_3kcompat.h: No such file or > directory > In file included from src/backend_agg.cpp:42: > src/file_compat.h: In function ‘int npy_PyFile_CloseFile(PyObject*)’: > src/file_compat.h:125: warning: deprecated conversion from string > constant to ‘char*’ > src/backend_agg.cpp: In member function ‘Py::Object > RendererAgg::write_rgba(const Py::Tuple&)’: > src/backend_agg.cpp:2040: error: ‘npy_PyFile_OpenFile’ was not declared > in this scope > src/backend_agg.cpp:2050: error: ‘npy_PyFile_Dup’ was not declared in > this scope > src/backend_agg.cpp:2054: error: ‘npy_PyFile_DupClose’ was not declared > in this scope > src/backend_agg.cpp:2064: error: ‘npy_PyFile_DupClose’ was not declared > in this scope > error: command 'gcc' failed with exit status 1 > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
From: Michael D. <md...@st...> - 2013-07-04 20:09:14
|
Have you looked at the simple_anim.py example -- other than the networking piece, it seems to do what you describe, and it's pretty fast. Maybe start from that and make changes until it gets slow in order to determine where the slowness comes from...? Mike On 07/03/2013 09:19 PM, v0idnull wrote: > I am receiving a number from a server every two seconds. I would like > to plot this number.out over time for the past say... 30 polls. > > Would it be possible to use... Anything, to produce a smooth animation > of the plot line getting drawn? As it stands now the animation is > well... Quite choppy. ;) > > I'm using pygame currently to render my graphs on this full screen > application I'm making just for my self. I am not bound to it though > if there are better linux-only things out there. > > Thanks in advance, > --alex > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
From: v0idnull <v0i...@ps...> - 2013-07-04 01:25:29
|
I am receiving a number from a server every two seconds. I would like to plot this number.out over time for the past say... 30 polls. Would it be possible to use... Anything, to produce a smooth animation of the plot line getting drawn? As it stands now the animation is well... Quite choppy. ;) I'm using pygame currently to render my graphs on this full screen application I'm making just for my self. I am not bound to it though if there are better linux-only things out there. Thanks in advance, --alex |