SourceForge logo
SourceForge logo
Menu

matplotlib-devel — matplotlib developers

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(33)
Dec
(20)
2004 Jan
(7)
Feb
(44)
Mar
(51)
Apr
(43)
May
(43)
Jun
(36)
Jul
(61)
Aug
(44)
Sep
(25)
Oct
(82)
Nov
(97)
Dec
(47)
2005 Jan
(77)
Feb
(143)
Mar
(42)
Apr
(31)
May
(93)
Jun
(93)
Jul
(35)
Aug
(78)
Sep
(56)
Oct
(44)
Nov
(72)
Dec
(75)
2006 Jan
(116)
Feb
(99)
Mar
(181)
Apr
(171)
May
(112)
Jun
(86)
Jul
(91)
Aug
(111)
Sep
(77)
Oct
(72)
Nov
(57)
Dec
(51)
2007 Jan
(64)
Feb
(116)
Mar
(70)
Apr
(74)
May
(53)
Jun
(40)
Jul
(519)
Aug
(151)
Sep
(132)
Oct
(74)
Nov
(282)
Dec
(190)
2008 Jan
(141)
Feb
(67)
Mar
(69)
Apr
(96)
May
(227)
Jun
(404)
Jul
(399)
Aug
(96)
Sep
(120)
Oct
(205)
Nov
(126)
Dec
(261)
2009 Jan
(136)
Feb
(136)
Mar
(119)
Apr
(124)
May
(155)
Jun
(98)
Jul
(136)
Aug
(292)
Sep
(174)
Oct
(126)
Nov
(126)
Dec
(79)
2010 Jan
(109)
Feb
(83)
Mar
(139)
Apr
(91)
May
(79)
Jun
(164)
Jul
(184)
Aug
(146)
Sep
(163)
Oct
(128)
Nov
(70)
Dec
(73)
2011 Jan
(235)
Feb
(165)
Mar
(147)
Apr
(86)
May
(74)
Jun
(118)
Jul
(65)
Aug
(75)
Sep
(162)
Oct
(94)
Nov
(48)
Dec
(44)
2012 Jan
(49)
Feb
(40)
Mar
(88)
Apr
(35)
May
(52)
Jun
(69)
Jul
(90)
Aug
(123)
Sep
(112)
Oct
(120)
Nov
(105)
Dec
(116)
2013 Jan
(76)
Feb
(26)
Mar
(78)
Apr
(43)
May
(61)
Jun
(53)
Jul
(147)
Aug
(85)
Sep
(83)
Oct
(122)
Nov
(18)
Dec
(27)
2014 Jan
(58)
Feb
(25)
Mar
(49)
Apr
(17)
May
(29)
Jun
(39)
Jul
(53)
Aug
(52)
Sep
(35)
Oct
(47)
Nov
(110)
Dec
(27)
2015 Jan
(50)
Feb
(93)
Mar
(96)
Apr
(30)
May
(55)
Jun
(83)
Jul
(44)
Aug
(8)
Sep
(5)
Oct
Nov
(1)
Dec
(1)
2016 Jan
Feb
Mar
(1)
Apr
May
Jun
(2)
Jul
Aug
(3)
Sep
(1)
Oct
(3)
Nov
Dec
2017 Jan
Feb
(5)
Mar
Apr
May
Jun
Jul
(3)
Aug
Sep
(7)
Oct
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
Jun
Jul
(2)
Aug
Sep
Oct
Nov
Dec
S M T W T F S

1
(3)
2
(4)
3
(5)
4
(3)
5
6
7
(2)
8
(4)
9
(6)
10
11
(7)
12
(8)
13
(2)
14
(2)
15
(5)
16
(14)
17
(13)
18
(8)
19
20
21
22
(2)
23
(7)
24
(7)
25
(8)
26
(7)
27
(2)
28
(1)
29
30




Showing 4 results of 4

From: Chris W. <ch...@ch...> - 2008年09月02日 18:06:45
"Jae-Joon Lee" <lee...@gm...> writes:
> Here is a patch which uses a preview package. It uses a "showbox"
> option in the preview package, with a slight tweak (this only patches
> the texmanager.py. You still need to apply the agg backend patch in my
> previous post). It would be good if this patch will be accepted, but
> the extra requirement of the preview package may need some dicussion.
> Although it seems that the preview package is commonly found with a
> TeX installation, I guess it is not part of the major TeX distribution
> (e.g. tetex, tex-live) yet. One way would be to make it as an optional
> feature.
FWIW, Debian provides preview.sty in the binary package
preview-latex-style (generated from the source package auctex).
Chris
> 
> 
> 
> On Fri, Aug 29, 2008 at 12:04 PM, Jae-Joon Lee <lee...@gm...> wrote:
> > Thanks,
> >
> > I quickly went through the code of the pngmath.py, and it seems that
> > the depth(descent) of the dvi file is reported by "dvipng" (but the
> > preview package must be used in the tex file for this to work
> > correctly). Therefore, with this method, we need to run dvipng even if
> > we use ps of pdf backend. Although this seems fine to me, I'll see if
> > I can extract the depth of the text without running the dvipng.
> >
> > Regards,
> >
> > -JJ
> >
> >
> >
> >
> > On Fri, Aug 29, 2008 at 7:59 AM, Michael Droettboom <md...@st...> wrote:
> >> Sphinx contains one way to do this in its new "pngmath" extension. It uses
> >> the LaTeX package "preview" which does all of this magic internally. And I
> >> believe it's a little more general. If I recall, the approach you're taking
> >> won't work with some LaTeX constructs such as:
> >>
> >> \begin{align}
> >> x & = 2
> >> y & = 2
> >> \end{align}
> >>
> >> Plus, Sphinx is BSD-licensed, so it should be fine to copy-and-paste
> >> whatever code is necessary.
> >>
> >> Of course, latex-preview is required to be installed, but I think it's a
> >> pretty common package.
> >>
> >> See here:
> >>
> >> http://svn.python.org/projects/doctools/trunk/sphinx/ext/pngmath.py
> >>
> >> Cheers,
> >> Mike
> >>
> >> Jae-Joon Lee wrote:
> >>>
> >>> On Thu, Aug 28, 2008 at 4:18 PM, John Hunter <jd...@gm...> wrote:
> >>>
> >>>>
> >>>> On Thu, Aug 28, 2008 at 2:57 PM, Jae-Joon Lee <lee...@gm...>
> >>>> wrote:
> >>>>
> >>>>
> >>>>>
> >>>>> First of all, I borrowed this idea from the PyX which is in GPL.
> >>>>> Although there is little of copying, other than the basic idea, I'm
> >>>>> not 100% sure if this could be BSD-compatible.
> >>>>>
> >>>>
> >>>> I think it is fine to borrow the idea; what we need to do is a clean
> >>>> room implementation with no copying. You can best answer that, so if
> >>>> you tell us your patch is cleanly implemented, we can accept it.
> >>>>
> >>>> JDH
> >>>>
> >>>>
> >>>
> >>> Thanks for the response.
> >>>
> >>> Well, the only part I borrowed from PyX is TeX related commands they
> >>> use (there is not much of implementation as far as TeX-related code is
> >>> concerned). From their code, I learned the meaning and usage of the
> >>> following TeX commands
> >>>
> >>> \newbox
> >>> \setbox
> >>> \immediate\write16
> >>>
> >>> And I used the same TeX commands in my code.
> >>> But I personally think this is not a (code) copy.
> >>>
> >>> Other than this, the code is clean.
> >>> Regards,
> >>>
> >>> -JJ
> >>>
> >>> -------------------------------------------------------------------------
> >>> This SF.Net email is sponsored by the Moblin Your Move Developer's
> >>> challenge
> >>> Build the coolest Linux based applications with Moblin SDK & win great
> >>> prizes
> >>> Grand prize is a trip for two to an Open Source event anywhere in the
> >>> world
> >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>> _______________________________________________
> >>> Matplotlib-devel mailing list
> >>> Mat...@li...
> >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> >>>
> >>
> >>
> >
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
From: Jae-Joon L. <lee...@gm...> - 2008年09月02日 17:41:13
Here is a patch which uses a preview package. It uses a "showbox"
option in the preview package, with a slight tweak (this only patches
the texmanager.py. You still need to apply the agg backend patch in my
previous post). It would be good if this patch will be accepted, but
the extra requirement of the preview package may need some dicussion.
Although it seems that the preview package is commonly found with a
TeX installation, I guess it is not part of the major TeX distribution
(e.g. tetex, tex-live) yet. One way would be to make it as an optional
feature.
Regards,
-JJ
On Fri, Aug 29, 2008 at 12:04 PM, Jae-Joon Lee <lee...@gm...> wrote:
> Thanks,
>
> I quickly went through the code of the pngmath.py, and it seems that
> the depth(descent) of the dvi file is reported by "dvipng" (but the
> preview package must be used in the tex file for this to work
> correctly). Therefore, with this method, we need to run dvipng even if
> we use ps of pdf backend. Although this seems fine to me, I'll see if
> I can extract the depth of the text without running the dvipng.
>
> Regards,
>
> -JJ
>
>
>
>
> On Fri, Aug 29, 2008 at 7:59 AM, Michael Droettboom <md...@st...> wrote:
>> Sphinx contains one way to do this in its new "pngmath" extension. It uses
>> the LaTeX package "preview" which does all of this magic internally. And I
>> believe it's a little more general. If I recall, the approach you're taking
>> won't work with some LaTeX constructs such as:
>>
>> \begin{align}
>> x & = 2
>> y & = 2
>> \end{align}
>>
>> Plus, Sphinx is BSD-licensed, so it should be fine to copy-and-paste
>> whatever code is necessary.
>>
>> Of course, latex-preview is required to be installed, but I think it's a
>> pretty common package.
>>
>> See here:
>>
>> http://svn.python.org/projects/doctools/trunk/sphinx/ext/pngmath.py
>>
>> Cheers,
>> Mike
>>
>> Jae-Joon Lee wrote:
>>>
>>> On Thu, Aug 28, 2008 at 4:18 PM, John Hunter <jd...@gm...> wrote:
>>>
>>>>
>>>> On Thu, Aug 28, 2008 at 2:57 PM, Jae-Joon Lee <lee...@gm...>
>>>> wrote:
>>>>
>>>>
>>>>>
>>>>> First of all, I borrowed this idea from the PyX which is in GPL.
>>>>> Although there is little of copying, other than the basic idea, I'm
>>>>> not 100% sure if this could be BSD-compatible.
>>>>>
>>>>
>>>> I think it is fine to borrow the idea; what we need to do is a clean
>>>> room implementation with no copying. You can best answer that, so if
>>>> you tell us your patch is cleanly implemented, we can accept it.
>>>>
>>>> JDH
>>>>
>>>>
>>>
>>> Thanks for the response.
>>>
>>> Well, the only part I borrowed from PyX is TeX related commands they
>>> use (there is not much of implementation as far as TeX-related code is
>>> concerned). From their code, I learned the meaning and usage of the
>>> following TeX commands
>>>
>>> \newbox
>>> \setbox
>>> \immediate\write16
>>>
>>> And I used the same TeX commands in my code.
>>> But I personally think this is not a (code) copy.
>>>
>>> Other than this, the code is clean.
>>> Regards,
>>>
>>> -JJ
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Matplotlib-devel mailing list
>>> Mat...@li...
>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>>>
>>
>>
>
From: John H. <jd...@gm...> - 2008年09月02日 15:51:47
On Tue, Sep 2, 2008 at 10:40 AM, Paul Kienzle <pki...@ni...> wrote:
> Speed improvements in the matplotlib front end may be possible, for
> example by representing tics and grids as line collections rather than
> rendering each one with a separate path command.
I think the big win here would be for us to write a light-weight axis
support which doesn't have all the features of the default axis but is
fast. Eg, it would not support all the various alignment and
rotations for ticklabels (eg, all xtick labels would be horizontally
aligned center and top aligned vertical) and would have homogeneous
font properties (don't create a bunch of Text instances, just call
draw_text repeatedly with the labels. We could drop the locators and
formatters and mathtext and all that, and make the user responsible
for setting the locations and label strings. We would not have
separate objects for each tick, but just draw all the markers in the
right places using a single plot command with linestyle TICK_LEFT,
etc.). This would probably be fast enough for most quasi-realtime
plots.
I think one could use Michael's projection registry to support this
kind of thing, even though it is not a projection the infrastructure
could be used to support pluggable axis support. This is on my TODO
list, but I probably cannot get to it right away.
JDH
From: Paul K. <pki...@ni...> - 2008年09月02日 15:41:03
On Mon, Sep 01, 2008 at 12:06:45AM -0700, Kevinsysu wrote:
> 
> Hi all:
> 
> I'm using matplotlib for plotting in recent days. I love it especially the
> usability and the plot quality.
> 
> My current work is to display a real time data set update into several 2D
> graphs (5 or more, 400x400 graphs).
> The environment I'm using is:
> wxpython 2.8.8.1
> matplotlib 0.98.3
> python 2.5.1.1
> Intel P IV 2.4G
> Using the wxagg backend.
> 
> The issue I encoutered was that the graphs refresh took too much CPU time,
> or in other word, the graph is not draw fast enough.
> Sorry to raise this performance topic again, as I knew you've discussed a
> lot on this topic, there're also some posts related to this, but I just
> can't find a solution suite to me.
> 
> For single graph sized 400x400, my target is to reach 50 fps. Actually, it
> can be easily achieved using the animation method: copy_from_bbox/
> restore_region in the following link.
> http://www.scipy.org/Cookbook/Matplotlib/Animations. (I reach 90+ fps with
> this) The difficulty I got is that the above method is only updating the
> bbox area, but I have to update the x/y axis as well. As John indicated in
> another post, updating the x/y axis is the bottleneck of the draw process.
> When I update the x/y axis at the same time, the performance drops to 20+
> fps, which is lower than my requirement.
> 
> Below are my questions, any kind of answer or hints would be appreciated:
> 1.	Can I reach the performance requirement by using the wxagg? If yes, how
> can I get there?
> 2.	Is there any existing backend can reach the performance requirement? Can
> it be embedded with wxpython?
> 3.	What differences (especially performance aspect) between the wxagg and
> agg backend? 
> 4.	As I know, in the recent post, Paul Kienzle is planning to develop the
> opengl backend. Could the opengl backend have a great improvement on
> performance compare with the wxagg?
You can figure out how much time is involved on the front side matplotlib
by using the null backend Template:
 import matplotlib
 matplotlib.use('Template')
This will give you an upper limit on your performance since none of the
rendering costs are shown. If that is already down to e.g., 30 fps then
you will not see anything better from an opengl backend.
Speed improvements in the matplotlib front end may be possible, for
example by representing tics and grids as line collections rather than
rendering each one with a separate path command.
	- Paul

Showing 4 results of 4

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /