[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
shading() behavior
From: |
Rik |
Subject: |
shading() behavior |
Date: |
Thu, 25 Jul 2013 13:02:52 -0700 |
7/25/13
Could someone run the following %!demo block code in Matlab?
clf;
colormap ('default');
[~,~,Z] = peaks();
[Fx, Fy] = gradient (Z);
surfc (Z, Fx+Fy)
shading interp
What does this do to the contour lines underneath the surface object?
In Octave it messes up the contour lines because the contours are patch
objects bundled up into an hggroup. I'm wondering if we shouldn't limit
the shading command to apply to just the passed in object and one level of
children.
Cheers,
Rik
- shading() behavior,
Rik <=