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


next up previous contents index
Next: viewerdisplaydata.addtouserchoicelist - Function Up: viewerdisplaydata - Tool Previous: Events


viewerdisplaydata - Constructor



Package display
Module viewer
Tool viewerdisplaydata


Create a Viewerdisplaydata tool


Synopsis
viewerdisplaydata(viewer, name, displaytype, data)


Arguments

viewer   the Viewer tool which will manage this tool
    Allowed: Viewer tool
name   a unique name for this Viewerdisplaydata tool
    Allowed: string
displaytype   a string describing the type of drawing
    Allowed: 'raster', 'contour', 'simpleaxes' or 'skycatalog'
data   The data source to draw, either an AIPS++ Image name, or a Glish array
    Allowed: string or array


Returns
Viewerdisplaydata tool or fail


Description

This is the only constructor for Viewerdisplaydata tools. It constructs (creates) a Viewerdisplaydata tool which can subsequently be registered on (and hence displayed on) Viewerdisplaypanel tools.

The displaytype argument can be:

  • 'raster', for which data can be a (float or double) Glish array having two or more dimensions, or a string giving the name of an AIPS++ Image on disk.
  • 'contour', for which data can be a (float or double) Glish array having two or more dimensions, or a string giving the name of an AIPS++ Image on disk.
  • 'simpleaxes', for which data must be tt '<none>'.
  • 'skycatalog', for which data must be a string giving the name of an AIPS++ Table on disk.

This constructor should not be called by users: it is called by the loaddata function of the Viewer tool, which returns a Viewerdisplaydata tool.





next up previous contents index
Next: viewerdisplaydata.addtouserchoicelist - Function Up: viewerdisplaydata - Tool Previous: Events   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