overviewplot(...) takes the same input arguments as the PLOT command
and will create a new figure containing the plot and an inset
displaying an overview of the plot. Pan and zoom operations on the main
axes will result in a rectangle being drawn in the inset axes
representing the section of the data currently shown in the main axes.
Manipulating the rectangle has the same effect as panning the main
axes.
overviewplot(FIG,...) will put the main axes and inset axes into the
figure represented by the handle FIG. Any callbacks active in the
figure will be overwritten as will any data present in the figure.
Copyright 2007 The MathWorks, Inc.
Edited to add the color for inset overview box
Edited by: Kranti Konganti
Texas A&M University.
$LastChangedDate: 2012-07-24 18:17:14 -0500 (Tue, 24 Jul 2012) $
$LastChangedRevision: 206 $
$LastChangedBy: jcai $
Check for a figure handle as first input: