octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Speeding Up gnuplot Interface with Binary Data


From: Dmitri A. Sergatskov
Subject: Re: Speeding Up gnuplot Interface with Binary Data
Date: Tue, 14 Oct 2008 23:54:49 -0500

On Tue, Oct 14, 2008 at 11:37 PM, John W. Eaton <address@hidden> wrote:

> I think it would be better to use
>
>  sprintf ("record=%d", numel (obj.xdata));
>
> instead.
>

Both works for me. Just an observation: running
tic; plot(rand(1000)); toc

takes 2 seconds with 3.0.2 and 12 with 3.1.51+

Of course, the gnuplot's time is the other way around,
so we loosing time on formatting data into binary format and
than win some back during the parsing.

> jwe
>

Sincerely,

Dmitri.
--


reply via email to

[Prev in Thread] Current Thread [Next in Thread]