On 07/25/2013 02:06 PM, Michael
Goffioul wrote:
On Thu, Jul 25, 2013 at 4:58 PM, Catalin Codreanu <address@hidden>
wrote:
7/28/13
Michael,
I think to be truly compatible we *would* need to implement contours
occasionally with line objects rather than patch objects. The thing
is, Matlab itself implements contours using both base objects. From
the sketchy clues in the documentation it appears that when a
linespec is given as input the contours are rendered as lines, but
otherwise they are rendered as patches. Patches are nice because
they automatically update when the colormap is changed. For line
objects we would need to add a listener. We already have code for
doing things both ways in contour.m (patches) and __ezplot__.m (line
objects). I've got other bits of Octave I want to work on so I
think I will leave this alone and just hack shading() to not affect
contours.
--Rik
|