Monday, July 18, 2005

Plotting more than 15 spectra in xspec

Steve Snowden pointed out that with > 15 spectra read in then spectrum 16 and above are not plotted. This occurs because PGPLOT only defines 15 colours so PLT commands of the form
COLOR 16 ON N generate a black line on black background. The fix is to cycle round the colours
so spectrum 16 is plotted with colour 1 and so on. This is 11.3.2l and will appear shortly as a patch to v12.

Keywords: heasoft, xspec

No comments: