help-octave
[Top][All Lists]
Advanced

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

Re: Very slow mesh on MacOS X


From: Dmitri A. Sergatskov
Subject: Re: Very slow mesh on MacOS X
Date: Thu, 5 Oct 2006 14:26:33 -0600

On 10/5/06, Marcus Vinicius Eiffle Duarte <address@hidden> wrote:

...
Any clues on why this mesh takes so long to be displayed on MacOS X?


The good news is that there is nothing wrong with your setup.
The bad news is that gnuplot is really bad with 3d figures.
You can speed things up if you do not set removal of hidden lines.
To do that edit the mesh.m (you can make a copy of it to your working
directory) and instead of
__gnuplot_raw__ ("set hidden3d;\n");

have

__gnuplot_raw__ ("set nohidden3d;\n");

or if you have 4.1+ version of gnuplot

__gnuplot_raw__ ("unset hidden3d;\n");

On the computer I am now (linux on 2GHz P4)
sombrero(200) plots in 45 seconds w/ standard mesh
and in 8 seconds with modified mesh.m

Actually I keep the modefied mesh.m file as wireframe.m
and use that for large mesh plotting.


Thanks,

Marcus Vinicius

Hope that helps.

Sincerely,

Dmitri.
--


reply via email to

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