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


next up previous contents index
Next: imageprofilesupport.makeabcissa - Function Up: imageprofilesupport - Tool Previous: imageprofilesupport.makeplotter - Function


imageprofilesupport.makemenus - Function



Package general
Module images
Tool imageprofilesupport


Make the abcissa menus


Synopsis
makemenus(parent)


Arguments

parent in Parent frame for plotter
    Allowed: Tk agent
    Default: Use PGPlotter



Returns
T or fail



Description

This function creates three menus from which the user controls what form the abcissa labelling will take. These menus are to control whether the abcissa coordinate is absolute or relative, what the units are, and, if applicable (for spectral profile axes) what the doppler type is. If you don't give the parent frame, the menus are embedded in the Pgplotter tool that is generated for plotting.

If you haven't yet specified the profile axis via function setprofileaxis. (maybe you don't know it when you have to create these menus), empty menus will be made.



Example
- im := image('ngc1313.cube')              # Open image
- csys := im.coordsys()                    # Coordinate system
- shp := im.shape()                        # Shape of image
- p := imageprofilesupport(csys=csys, shp=shp, widgetset=dws)
- p.setprofileaxis(3);
- p.makemenus()




next up previous contents index
Next: imageprofilesupport.makeabcissa - Function Up: imageprofilesupport - Tool Previous: imageprofilesupport.makeplotter - 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-08-01