Graphic properties not working

Ben Abbott bpabbott at mac.com
Mon Mar 23 10:23:50 CDT 2009


On Monday, March 23, 2009, at 10:37AM, "Marco Caliari" <marco.caliari at univr.it> wrote:
>Dear maintainers,
>
>I noticed that some (all?) graphic properties do not work anymore in 
>Octave 3.1.54
>
>octave:1> contourf(peaks,'EdgeColor','blue')
>error: set: unknown property "EdgeColor"
>error: called from:
>error:   /usr/local/share/octave/3.1.54/m/plot/__contour__.m at line 191, column 5
>error:   /usr/local/share/octave/3.1.54/m/plot/contourf.m at line 71, column 5
>
>I don't know if it is a bug or a syntax change.
>
>Best regards,
>
>Marco

Using matlab, your example does work. However, Matlab's hggroup has no "EdgeColor" property. It appears that Matlab is setting the "LineColor" property when the "EdgeColor" property is specified.

If you do that directly, you'll get what you desire.

contourf (peaks, "linecolor", "blue")

Ben



More information about the Bug-octave mailing list