Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | general | |
Module | images | |
Tool | coordsys |
value | in | Names | |
Allowed: | Vector of strings | ||
type | in | Which coordinate type ? | |
Allowed: | String from "direction", "stokes", "spectral", "linear", "tabular" or unset | ||
Default: | All |
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.
- 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