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.setprofileaxis - Function Up: imageprofilesupport - Tool Previous: imageprofilesupport.setprofile - Function


imageprofilesupport.setplotter - Function



Package general
Module images
Tool imageprofilesupport


Set a new plotter


Synopsis
setplotter(plotter)


Arguments

plotter in New plotter
    Allowed: Pgplotter tool



Returns
T or fail



Description

This function allows you to set a plotter with one of your own creation. It must be a pgplotter tool.

After calling this function, you must remake the abcissa and ordinate profiles (functions makeabcissa and makeordinate or setordinate).



Example
- im := image('ngc1313.cube')              
- csys := im.coordsys()                    
- shp := im.shape()                        
- axis := 3;
- p := imageprofilesupport(csys=csys, shp=shp)
- p.setprofileaxis(axis);
- p.makemenus()
- pos := csys.referencepixel()             
- p.makeabcissa(pos)                       
- r := drm.box()
- p.makeordinate(im, r)
- p.plot()                                 
-
- pl := pgplotter()
- p.setplotter(pl)
- p.makemenus()
- p.makeabcissa([1,1])
- p.setordinate(data2)
- p.plot()




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