title: crop image and display cropped image in axes
body: <p>i have an image and i want to crop it i applied this code but its only cropping the image but not showing the cropped image on the axes :</p>
  
  <pre><code>imrect(Iedge2)
  hPlot = plot(xBox, yBox);
  pause(2)
  delete(hPlot)
  cla('reset')
  imshow(I, []);  % No need to specify 'Parent' now.
  title('Cropped Image', 'FontSize', 12);
  </code></pre>
  
  <p>i want to show the message on the top of the axes area that "crop the image" when the crop process occurs and after selection of the area the cropped area will be shown to the `axes2 .some body please tell me is there is any function or method to do so?</p>
  
  <p>thanks and regards`</p>