Next Previous Up Contents
Next: Usage
Up: Command Reference
Previous: Examples

## B.16 `plot2cube`: Draws a cube plot

`plot2cube` draws plots in a Cartesian 3-dimensional space. The plotting volume is a cube, which is viewed from the outside and usually bounded by an annotated wire frame.

Positional coordinates are by default specified as `x`, `y`, `z` triples, e.g.:

       plot2cube layer1=mark in1=sim.fits x1=XPOS y1=YPOS z1=ZPOS

However other coordinate specifications can be chosen using the per-layer `geomN` parameter, e.g.:

       plot2cube layer1=mark in=sim.fits geom1=vector xyz1=POS3D

or

       plot2cube layer1=mark in1=sphere.fits geom1=polar lon1=RA lat1=DEC r1=RADIUS

Content is added to the plot by specifying one or more plot layers using the `layerN` parameter. The `N` part is a suffix applied to all the parameters affecting a given layer; any suffix (including the empty string) may be used. Available layers for this plot type are: `mark`, `size`, `sizexy`, `xyzvector`, `xyzerror`, `link2`, `mark2`, `poly4`, `mark4`, `polygon`, `label`, `line3d`, `contour`, `spheregrid`.

- B.16.1 Usage
- B.16.2 Examples

Next Previous Up Contents
Next: Usage
Up: Command Reference
Previous: Examples

STILTS - Starlink Tables Infrastructure Library Tool Set
Starlink User Note256
STILTS web page: http://www.starlink.ac.uk/stilts/
Author email: m.b.taylor@bristol.ac.uk
Mailing list: topcat-user@jiscmail.ac.uk