09-22-2008 09:17 PM
the code "contourf(magic(8))" typed into the mathscripts window produces a different result from the same single line in matlab. The resolution and colormap differences don't bother me, but the line fragments are clearly incorrect. This is a simple example of a problem I'm having in my data. Further, if I'd like to plot the contour line myself, the "hold on" function does not seem to work with the contour. Any help would be much appreciated. A simple example demonstrating both problems:
clf
colormap(jet)
contourf(magic(8));
hold on
plot(1:8,1:8,'r*')
shg
piyrwq
09-23-2008 08:03 AM
09-24-2008 12:11 PM