Bug for combined plot of pcolor and contour

Kai Habel kai.habel at gmx.de
Thu Dec 13 16:04:44 CST 2007


John W. Eaton schrieb:
> On 13-Dec-2007, Kai Habel wrote:
>
> | With a today's checkout I see the following problem:
> | 
> | octave:19> [x,y,z]=peaks(10);
> | octave:20> pcolor(x,y,z);shading flat;hold on
> | octave:21> contour(x,y,z,'k')
> |          line 10026: 2D plots cannot color by Z value; please use splot
> | instead
> | 
> | 
> | gnuplot> -3 -3 0 6.67128029671744e-05 -2.33333333333333 -3 0
> | 0.00126982402106582 -1.66666666666667 -3 0 0.00529256169959581 -1 -3 0
> | -0.0298708013732747 -0.333333333333333 -3 0 -0.180932327666405
> | 0.333333333333333 -3 0 -0.24653656063106 1 -3 0 -0.109959383327874
> | 1.66666666666667 -3 0 -0.0167978249291278 2.33333333333333 -3 0
> | -0.000808320501125711 3 -3 0 -5.86418787258953e-06
> |          ^
> |          line 10026: invalid command
>
> Did this work in any previous version of Octave?
>
> jwe
>
>   
Hmm, good question. Before I have implemented contourf, I think I have
seen examples using the combination above. But I do not remember if this
was with a pcolor function from octave-forge or octplot. I don't know.

Kai


More information about the Bug-octave mailing list