|
From: | Ben Abbott |
Subject: | Re: Speeding Up gnuplot Interface with Binary Data |
Date: | Tue, 07 Oct 2008 23:15:29 -0400 |
On Oct 7, 2008, at 10:35 PM, Daniel J Sebald wrote:
John W. Eaton wrote:On 7-Oct-2008, Daniel J Sebald wrote: | John,| | Attached is a patch using gnuplot's binary data input feature rather than ASCII data fifteen characters wide. It does appear to speed up drawing a fair amount. Less data is transmitted through the pipe, gnuplot doesn't have to input data as formated, and as I see it there is no need for handling NaN in a special way (it is just another value in IEEE format).| | Let me know what you think. This patch fails to apply cleanly to the current Octave sources.Sorry. I'm out of step with Mercurial. Give this patch a try... I left out a conditional test for gnuplot version; did you remove the scriptcompare_versions (__gnuplot_version__ (), "4.0", ">") from the code?
I see __gnuplot_version__.m is still present in the sources. http://hg.savannah.gnu.org/hgweb/octave/file/9a0a66f650b1/scripts/plot/__gnuplot_version__.mHowever, the use of __gnuplot_version__ was removed from __go_draw_axes__.m on Oct 2nd.
Presently, the 3.1.51+ sources require gnuplot >= 4.2.3 to function, and >= 4.2.5 for full functionality.
There's a long chain of emails you can read through below, if you are interested.
http://www.nabble.com/-manual--suggested-addition-to-pcolor-description-to19584050.html#a19782292BTW, I thought I'd try your patch, but it didn't take. What syntax did you use to produce it, and did you use the version of __go_draw_axes__ from the current sources?
Ben
[Prev in Thread] | Current Thread | [Next in Thread] |