Opened 16 years ago
Closed 14 years ago
#97 closed task (fixed)
Gnuplot is very slow, replace it with plplot
Reported by: | Jari Häkkinen | Owned by: | Jari Häkkinen |
---|---|---|---|
Priority: | blocker | Milestone: | svndigest 0.8 |
Component: | core | Version: | trunk |
Keywords: | Cc: |
Description (last modified by )
Depends on plplot bug http://sourceforge.net/tracker/?func=detail&aid=2901388&group_id=2915&atid=102915 Until the plplot issue is resolved you must download plplot 5.9.5 and patch the plstream destructor manually before compiling and installing plplot.
Gnuplot replaced with plplot, the rest of the tickets are split into #402, #403, #404, and #405
Attachments (2)
Change History (32)
comment:1 Changed 16 years ago by
Milestone: | → 0.7 |
---|
comment:2 Changed 16 years ago by
Priority: | major → blocker |
---|
comment:3 Changed 16 years ago by
comment:4 follow-up: 8 Changed 16 years ago by
comment:6 Changed 15 years ago by
Status: | new → assigned |
---|
comment:7 Changed 15 years ago by
This change will be implemented in branch source:branches/replacing_gnuplot
comment:8 follow-up: 9 Changed 14 years ago by
Replying to peter:
What about GNU libplot?
http://www.gnu.org/software/plotutils/
There is clearly an API for C/C++
I looking at http://plplot.sourceforge.net/
comment:9 Changed 14 years ago by
Replying to jari:
Replying to peter:
What about GNU libplot?
http://www.gnu.org/software/plotutils/
There is clearly an API for C/C++
I looking at http://plplot.sourceforge.net/
Look at the example page, http://plplot.sourceforge.net/examples.php, click on one of the sample plots and select your favourite language in the tab, copy&paste! That is it, I am going for plplot and I am starting tomorrow so there is some time to try to convince me for something else.
comment:10 Changed 14 years ago by
Found that plplot is included in Fedora 9, the examples look good, and it is licensed under LGPL, so go ahead.
comment:11 Changed 14 years ago by
comment:13 Changed 14 years ago by
comment:14 Changed 14 years ago by
comment:15 Changed 14 years ago by
I think it should be possible to build and run svndigest without the plot machinery (plplot). 1) svndigest --copyright
is still useful 2) Possibly we should even allow reports without images (just a [plot]
instead).
comment:16 Changed 14 years ago by
Milestone: | svndigest 0.7 → svndigest 0.8 |
---|
comment:17 Changed 14 years ago by
comment:18 Changed 14 years ago by
comment:19 Changed 14 years ago by
Description: | modified (diff) |
---|---|
Summary: | Gnuplot is very slow, either compile gnuplot into binary or find something new → Gnuplot is very slow, replace it with plplot |
comment:21 Changed 14 years ago by
comment:22 Changed 14 years ago by
comment:23 Changed 14 years ago by
Description: | modified (diff) |
---|
comment:24 Changed 14 years ago by
Description: | modified (diff) |
---|
comment:25 Changed 14 years ago by
comment on the issue at plplot tracker
http://sourceforge.net/tracker/index.php?func=detail&aid=2901388&group_id=2915&atid=102915
comment:26 Changed 14 years ago by
I'll look into that. My suggested patch works for us since we never have more than one stream open at any time. However, we should of course use the official fix. I'll create a patch for released plplot 5.9.5 and post it somewhere. I prefer not to live on plplot trunk.
Changed 14 years ago by
Attachment: | plstream.cc added |
---|
Taken from plplot subversion trunk revision 10626
Changed 14 years ago by
Attachment: | plstream.h added |
---|
Taken from plplot subversion trunk revision 10626
comment:27 Changed 14 years ago by
I attached plstream.cc and plstream.h to this ticket. These files are copied from the plplot subversion trunk revision 10626. It was too hard to create a patch due to many avoidable changes in the files (space, change of comment style, moves of '{' from one line to another) so I attached the complete files. I tested them with svndigest and make check passes and plots are generated.
comment:29 Changed 14 years ago by
comment:30 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
There is no API for the current gnuplot and no plans to create one exist