Bug for combined plot of pcolor and contour

John W. Eaton jwe at bevo.che.wisc.edu
Thu Dec 13 15:39:50 CST 2007


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


More information about the Bug-octave mailing list