[Top][All Lists]

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

Re: Speed up print

From: henrik josefsson
Subject: Re: Speed up print
Date: Wed, 14 Dec 2016 23:33:26 +0000

On 2016-12-14 22:51, Dmitri A. Sergatskov wrote:

On Wed, Dec 14, 2016 at 12:51 PM, henrik josefsson <address@hidden> wrote:
Running the script below takes around a minute on my system. Increasing
the size of the mesh greatly increases the time to run the print
command. What can be done to make print command run faster?

N = 100;
M = 5000;
x = linspace(0,1,N);
y = linspace(0,1,M);
[X, Y] = meshgrid(x,y);
print('output.pdf') %takes a long time to run!

The time to execute the print command seems to be around the same for
different octave versions (3.8.x 4.0.2 and 4.2.0) and operating systems
(Ubuntu, Linux Mint and Windows 10)

​There are multiple issues here. One of them is opengl driver.
This takes much longer time on my computer with integrated
intel graphics than on one with either AMD or Nvidia card
(Gallium driver).​


I'm using an nvidia card with opengl version 4.5.0 (happy to give more info if needed). I did try and change the graphics_toolkit between qt and gnuplot but received fairly similar results. Something I noticed which might be of interest is that exporting a surface of similar size directly in gnuplot was many times faster.

reply via email to

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