octave-maintainers
[Top][All Lists]
Advanced

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

Help with meshz comparison


From: Rik
Subject: Help with meshz comparison
Date: Fri, 04 Jul 2014 21:06:54 -0700

The color that Octave uses for the waterfall portion of a meshz plot is the
minimum value of Z, but Matlab appears to use the mean or median.  Can
someone run the following code in Matlab and send the picture and the data?

Test Code:

Z = peaks ();
h = meshz (Z(20:30, 20:30));
print -dpng tst.png
cdat = get (h, 'cdata');
cdat(1:5, 1:5)

Thanks,
Rik




reply via email to

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