Bug for combined plot of pcolor and contour
John W. Eaton
jwe at bevo.che.wisc.edu
Mon Dec 17 13:13:30 CST 2007
On 17-Dec-2007, David Bateman wrote:
| On the advice from Petr, the attached patch makes the pm3d plotting
| explicit (ie must use splot ... with pm3d), and privileges no hidden
| line removal when there are multiple objects displayed.. With this patch
|
| [x,y,z]=peaks(10);
| h1 = pcolor(x,y,z);shading flat;hold on;
| [clev,h2] = contour(x,y,z,5);
| for i = 1:length(h2)
| set (h2(i), "zdata", ones (size(get (h2(i), "xdata"))), "edgecolor",
| "black");
| endfor
|
| works as expected..
| 2007-12-15 David Bateman <dbateman at free.fr>
|
| * plot/__go_draw_axes__.m: Use "set pm3d explicit" so that
| contours can overlay pcolor plots. Priveldge no hidden line
| removal when there are multiple objects in the plot.
I applied this aptch and checked it in.
Thanks,
jwe
More information about the Bug-octave
mailing list