Next Previous Up Contents
Next: plot2sphere: Draws a sphere plot
Up: plot2cube: Draws a cube plot
Previous: Usage

### B.11.2 Examples

Some examples of `plot2cube` are shown below. See Section 8.1.3 for some examples of producing animations, for instance of a rotating cube.

    stilts plot2cube

  Just displays a unit cube wireframe in a window. You can rotate it with the mouse.

    stilts plot2cube layer.1=mark in.1=sim.fits x.1=x y.1=y z.1=z
                     shading.1=density densemap.1=pastel

  Plots markers with x,y,z positions on the screen. You can rotate, zoom and pan the cube on the window this produces. Density shading is used, which means you can see the lines of sight along which most objects fall, though single points are still visible. Density shading is usually a good choice if there is just one dataset, though it can get confusing with more than one.

    stilts plot2cube in=gavo_g2.fits
                     x=X y=Y z=Z
                     shading=aux aux=HALOID opaque=2.5 auxmap=red-blue
                     layer_m=mark shape_m=open_circle size_m=2
                     layer_v=xyzvector xdelta_v=velX ydelta_v=velY zdelta_v=velZ

  Plots points in three dimensions with little arrows representing velocity as well as position markers; layer `_m` draws the markers and layer `_v` draws the arrows. Points and vectors are coloured according to the HALOID data value. The positional coordinates (x, y, z) and the shading options are common to both layers, so they can be specified without a prefix.

Next Previous Up Contents
Next: plot2sphere: Draws a sphere plot
Up: plot2cube: Draws a cube plot
Previous: Usage

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