27.11.10 Zoom Graph

Zoomgraph.png

Data Requirements

Select at least one Y columns of values (or a range from at least one columns). If there is an associated X column, X column supplies X values; otherwise, sampling interval of the Y column or row number is used.

Creating the Graph

Select required data.

From the menu,select Plot > Basic 2D: Zoom.

or

Click the Zoom button on the 2D Graphs toolbar.

Zoomgraph1.png

Template

Zoom1.OTP (installed to the Origin program folder).

Notes

The Zoom graph includes each data set into both layers as a line plot. It can be changed to scatter, line + symbol, or column/bar through context sensitive menus or the Plot Details dialog box.

A rectangle in the top layer has been coded (i.e. a script is attached to it) so that when you move it, the region defined by its borders is automatically displayed in the bottom layer. The rectangle can be sized differently to further restrict or expand the region to be displayed.

You can use the Scale In button Button Zoom In Tool.png to copy an enlarged portion of your 2D graph to a new window. This will also work on any graph that has multiple linked layers as long as the layers are overlapped and share a common axis (% of Linked Layer has Left/Top set to 0 and Width/Height set to 100, plus Straight (1 to 1) linking to the parent layer).

With a graph active, press Ctrl then click the Scale In button Button Zoom In Tool.png (Tools toolbar) and drag out a rectangle on your 2D graph. Note that this Enlarged graph is dynamic. Move or resize the rectangle on your original graph and the Enlarged graph is updated. For more information on Zooming, Panning and Scaling your graph see this page.