Code covered by the BSD License  

Highlights from
Overview Plot

4.25

4.2 | 4 ratings Rate this file 14 Downloads (last 30 days) File Size: 3.37 KB File ID: #17599
image thumbnail

Overview Plot

by Daniel Sternberg

 

19 Nov 2007 (Updated 20 Nov 2007)

Creates a plot with an overview axes in the figure.

| Watch this File

File Information
Description

%OVERVIEWPLOT creates a plot with an interactive overview axes.
% 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.

MATLAB release MATLAB 7.3 (R2006b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
20 Nov 2007 Craig Manadie

Great idea, great job! Thanks.

20 Nov 2007 b q  
24 Nov 2007 John D'Errico

This is a very nice idea. The help is good and readable.

It could be improved however. Suppose after you generate a plot, then after the fact want to use this tool? You can't do so, instead you must recreate your plot using this tool. A better approach would be to allow this to work:

h = plot(rand(10));
overviewPlot

Also, these variants should work too:

h = plot(rand(10));
overviewPlot(h)

plot(rand(10))
overviewPlot(gcf)

Finally, I note that rotate is disabled once you do the overviewPlot.

26 Nov 2007 Tom Tom

very nice tool!

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
data exploration Daniel Sternberg 22 Oct 2008 09:36:00
box Daniel Sternberg 22 Oct 2008 09:36:00
subplot Daniel Sternberg 22 Oct 2008 09:36:00
axes Daniel Sternberg 22 Oct 2008 09:36:00
zoom Daniel Sternberg 22 Oct 2008 09:36:00
pan Daniel Sternberg 22 Oct 2008 09:36:00
graphics Daniel Sternberg 22 Oct 2008 09:36:00

Contact us at files@mathworks.com