octave-maintainers
[Top][All Lists]
Advanced

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

More help with meshz


From: Rik
Subject: More help with meshz
Date: Sun, 20 Jul 2014 11:40:16 -0700

7/20/14

I've almost got meshz to produce the same output as Matlab, but I still
have a discrepancy about the color of the edge on the boundary of the
curtain.  Could someone run the following code on a *Linux* or *Windows*
version of Matlab and send back the png and diary file?

--- Start Code ---
diary on
Z = peaks ();
h = meshz (Z(20:30, 20:30));
print -dpng tst.png
cdat = get (h, 'cdata');
cdat(1:5, 1:5)
zdat = get (z, 'zdata');
zdat(1:5, 1:5)
xdat = get (x, 'xdata');
xdat(1:5, 1:5)
ydat = get (y, 'ydata');
ydat(1:5, 1:5)
diary off
--- End Code ---

Thanks,
Rik




reply via email to

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