From: Rich D. <dr...@in...> - 2005-02-17 04:24:16
|
Hello, I'm trying to get a figimage to be scaled up dimensionally to occupy the entire plot window rather than scrunched up in the upper left. The docs cryptically suggest: " * origin is either 'upper' or 'lower', which indicates where the [0,0] index of the array is in the upper left or lower left corner of the axes. Defaults to the rc image.origin value This complements the axes image which will be resampled to fit the current axes. If you want a resampled image to fill the entire figure, you can define an Axes with size [0,1,0,1]." But that is too cryptic for my current knowledge state. The following creates a scrunched image: figure(1) d=rand(100, 100) figimage(d) show() But this, probably naive guess, errors out with a transformation-not-invertible message: figure(1) axes([0,1,0,1]) d=rand(100, 100) figimage(d) show() Suggestions appreciated. Thanks, Rich |