From: Bruce Bowler on 9 Jul 2010 14:33 I have a bit of code that doesn't work exactly as I expect... Summary: create a contour plot of data that has a z-range of 21 to 27. hold on plot3k (from the FEX) data that falls into the same x and y ranges but has a z-range of -70 to -66. Plot3k puts up a colorbar that has the labels from -70 to -66 (plot3k picks the labels and sets them manually), as it should but the color in the color bar only ranges from (roughly) -68.8 to (roughly) -68.6. If I don't let plot3k pick the labels etc, the colorbar is from 21 to 27, which I'm guessing is from the Z-range of the contour plot. Any ideas on how to get the color bar to "do the right thing" (ie colors from -70 to -66? Thanks! Bruce -- +-------------------+---------------------------------------------------+ Bruce Bowler | A jury is composed of twelve men of average 1.207.633.9610 | ignorance. bbowler(a)bigelow.org | - Herbert Spencer +-------------------+---------------------------------------------------+
|
Pages: 1 Prev: Errors and Warnings after compiling MATLAB GUI m-file Next: Murphy HMM problem |