Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: tableplot.clearflags - Function Up: tableplot - Tool Previous: tableplot.flagdata - Function


tableplot.zoomplot - Function



Package utility
Module table
Tool tableplot


Zoom/Unzoom on marked regions


Synopsis
zoomplot(panel, direction)


Description
Allows a chosen region to expand to fill in the plot view panel. Multiple zoom calls are allowed. One call to unzoom returns to the original plot. In multi-panel plots, zooming can be done separately on each panel.



Arguments

panel   Panel number
    Allowed: Integer
    Default: 1
direction   1 to zoom, 0 to unzoom
    Allowed: Integer
    Default: 1


Returns
0 if region is valid and zoom successful, -1 otherwise


Example
# zoom and then unzoom on panel 2
  tp.zoomplot(panel=2,direction=1);
  tp.zoomplot(panel=2,direction=0);
Flagging and zooming can be interleaved, i.e. flag regions can be marked on a zoomed plot using markflags(), and applied using flagdata() before or after unzooming.
# Zoom on panel 1 and perform flagging.
  tp.zoomplot(panel=1,direction=1);
  tp.markflags(panel=1);
  tp.markflags(panel=1);
  tp.flagdata(diskwrite=1,rowflag=0);
  tp.zoomplot(panel=1,direction=0);





next up previous contents index
Next: tableplot.clearflags - Function Up: tableplot - Tool Previous: tableplot.flagdata - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15