Last modified: 6 January 2025

How do I display a table in DS9? [New]


DS9 has limited support for plotting data from tables, using either the --prism command-line option or by selecting the menu item "File" → "Prism".

As an example:

unix% ds9 -prism arf.fits

will create a window similar to

[A DS9 window displaying the table conents, in this case showing that the table contains three columns (ENERG_LO and ENERG_HI with units of keV and SPECRESP with units of cm**2) along with the header information. There's a number of options: Open, Clear, Image, Plot, and Close.]
[Print media version: A DS9 window displaying the table conents, in this case showing that the table contains three columns (ENERG_LO and ENERG_HI with units of keV and SPECRESP with units of cm**2) along with the header information. There's a number of options: Open, Clear, Image, Plot, and Close.]

Colums can be plotted from this window: for example, the SPECRESP column can be plotted as a function of ENERG_LO:

[A DS9 window plotting the ENERG_LO values (X) versus SPECRESP (Y). The axes are labelled with the column name and the units, in this case keV and cm**2 for X and Y respectively. The data is plotted as small blie circles. There are also menu items: File, Edit, Control Panel, Plot, Graph, and Data.]
[Print media version: A DS9 window plotting the ENERG_LO values (X) versus SPECRESP (Y). The axes are labelled with the column name and the units, in this case keV and cm**2 for X and Y respectively. The data is plotted as small blie circles. There are also menu items: File, Edit, Control Panel, Plot, Graph, and Data.]