[Top][All Lists]

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

Re: Poor plot performance on Windows

From: Jake
Subject: Re: Poor plot performance on Windows
Date: Wed, 16 Mar 2016 08:12:01 -0700

"For my interactive plotting usecase, everything after 3.2.x is unusable."

I agree entirely. It seems like it was worst in 3.6-3.8 IIRC and got better in 4.0, but it's still bad. I was looking at prices for MATLAB yesterday because it took 30-45 minutes to run the script in question when it should've taken a minute tops.

What is the Windows (non-Cygwin) binary (and supplementals, such as gnuplot, ghostscript) compiled with? MinGW or MSVC?

On Wed, Mar 16, 2016 at 12:11 AM, <address@hidden> wrote:
Hi Jake,

I did some tests in that area. Results:
 - versions after 3.2.3 (windows) or 3.2.4 (linux) are increasingly slow
 - win is slower than linux
 - with versions after 3.2.x, it makes a difference on how you adjust your legend. Please see my
  posts from some days ago ('Slow plotting (redraw due to legend?)') for details. Adjusting defaults in legend.m
  might also save you about a third of your plotting time.
 - try not to use 'hold on', many plots, 'hold off'. Time increases linearily with the number of plots.
 - I tested gnuplot, fltk and qt with different versions of octave and many different uses of plot(), legend(),
  linetypes and so on.  As far as speed is concerned, they were equally slow. The only difference I remember
  was when using drawnow(), which made gnuplot slower than the others.

My posts caused little echo on this list; it seems that most people are content with plot performance. For my interactive plotting usecase, everything after 3.2.x is unusable.

Best regards,


Kommanditgesellschaft, Sitz: Bruchsal, RG Mannheim HRA 230970
Komplementärin: SEW-EURODRIVE Verwaltungs-GmbH, Sitz: Bruchsal, RG Mannheim HRB 230207

Gesellschafter: Jürgen Blickle, Rainer Blickle
Geschäftsführer: Jürgen Blickle (Vorsitzender), Udo Aull, Johann Soder, Dr. Jürgen Zanghellini

reply via email to

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