Bug for combined plot of pcolor and contour

Kai Habel kai.habel at gmx.de
Thu Dec 13 13:56:35 CST 2007


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

Kai


More information about the Bug-octave mailing list