From: Corey Kelly on 3 Jun 2010 14:38 I'm trying to create a slider to manually adjust the DisplayRange property of an image. I've displayed the image using imshow(), and stored the handle to handles.currimage, and I'm trying to use set(handles.currimage,'DisplayRange',[0 handles.maxint]) but MATLAB is telling me that DisplayRange isn't a property of 'image'. I know that imshow() can accept DisplayRange as a property on creation, but why can't it be changed later?
From: Walter Roberson on 3 Jun 2010 15:19 Corey Kelly wrote: > I'm trying to create a slider to manually adjust the DisplayRange > property of an image. I've displayed the image using imshow(), and > stored the handle to handles.currimage, and I'm trying to use > > set(handles.currimage,'DisplayRange',[0 handles.maxint]) > > but MATLAB is telling me that DisplayRange isn't a property of 'image'. > > I know that imshow() can accept DisplayRange as a property on creation, > but why can't it be changed later? See the caxis command and the Axes CLim and CLimMode properties.
|
Pages: 1 Prev: Passing a value to Lsqcurvefit Next: Simulink Three-phase source waveform |