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.getxy - Function Up: imageprofilesupport - Tool Previous: imageprofilesupport.getrefframe - Function


imageprofilesupport.getx - Function



Package general
Module images
Tool imageprofilesupport


Get abcissa coordinate of cursor


Synopsis
getx(color)


Arguments

color in Color of location marker
    Allowed: PGPlot color (expressed as integer index)
    Default: 7



Returns
Float



Description
Get the abcissa coordinate of the cursor and mark the x-location with a vertical line.



Example
- im := image('ngc1313.cube')              
- csys := im.coordsys()                    
- shp := im.shape()                        
- p := imageprofilesupport(csys=csys, shp=shp, widgetset=dws)  
- p.setprofileaxis(axis);
- p.makemenus()
- pos := csys.referencepixel()             
- p.makeabcissa(pos)                       
- r := drm.box()                           
- p.makeordinate (im, r)                   
- x := p.getx()




next up previous contents index
Next: imageprofilesupport.getxy - Function Up: imageprofilesupport - Tool Previous: imageprofilesupport.getrefframe - 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