help-octave
[Top][All Lists]
Advanced

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

Re: Maximum size for mesh() plot?


From: Miroslaw Kwasniak
Subject: Re: Maximum size for mesh() plot?
Date: Sat, 31 Jan 2009 14:37:37 +0100
User-agent: Mutt/1.5.9i

On Thu, Jan 29, 2009 at 04:12:04PM -0800, asfarley wrote:
> But these commands either give no results, or cause octave to hang:
> 
> x = [0:0.1:50];
> y = [0:0.1:100];
> [xx,yy] = meshgrid(x,y);
> z = sin(xx).*sin(yy);
> mesh(x,y,z);

On my system octave didn't crashed - returned to prompt in about 1s, but
gnuplot will render it probably in hours or even days (on my Athlon 1600XP).

With gnuplot I seldom use meshes bigger then 30x30.

You can plot such mesh with jhadles plotting backend in some seconds. On
older computers memory usage can be a problem - results for my Linux box:

octave 3.0.1 + gnuplot 4.2.2 (unfinished state)
  octave   58/98 MB (first value: mem really used, second: allocated
                     - for Windows the second is important)
  gnuplot  195/209 (and still growing about 1MB/min )

octave 3.0.1 + jhandles 0.3.4
  octave 152/394 MB

Mirek


reply via email to

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