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


next up previous contents index
Next: coordsys.setobserver - Function Up: coordsys - Tool Previous: coordsys.setlineartransform - Function


coordsys.setnames - Function



Package general
Module images
Tool coordsys


Set the axis names


Synopsis
setnames(value, type)


Arguments

value in Names
    Allowed: Vector of strings
type in Which coordinate type ?
    Allowed: String from "direction", "stokes", "spectral", "linear", "tabular" or unset
    Default: All


Returns
T or fail



Description

Each axis associated with the Coordinate System has a name. It isn't used in any fundamental way.

This function (short-hand name sn) allows you to set new axis names.

You can set the names either for all axes (type=unset) or for just the axes associated with a particular coordinate type.

You can recover the current axis names with function names.



Example
- cs := coordsys(spectral=T, linear=2)
- cs.setnames(value="a b c")
- cs.names()
a b c
-
- cs.setnames('lin', "flying fish")
- cs.names()
a flying fish





next up previous contents index
Next: coordsys.setobserver - Function Up: coordsys - Tool Previous: coordsys.setlineartransform - 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