/usr/share/doc/stilts/examples/plothist-examples.xml is in stilts-doc 3.1.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | <dt><verbatim>
stilts plothist in=cat.xml xdata=RMAG-BMAG
</verbatim></dt>
<dd><p>Plots a histogram of the R-B colour.
The plot is displayed directly on the screen.
</p>
<p>The generated plot is <webref url='hist0.png'>here</webref>.</p>
</dd>
<dt><verbatim>
stilts plothist in=cat.xml xdata=RMAG-BMAG ofmt=eps-gzip out=hist.eps.gz
</verbatim></dt>
<dd><p>Makes the same plot as the previous example,
but writes it to a gzipped encapsulated postscript file
instead of displaying it on the screen.
</p>
<p>The generated plot is <webref url='hist.eps.gz'>here</webref>.</p>
</dd>
<dt><verbatim>
stilts plothist inJ=2mass_xsc.fits xdataJ=j_m_k20fe barstyleJ=tops
inH=2mass_xsc.fits xdataH=h_m_k20fe barstyleH=tops
inK=2mass_xsc.fits xdataK=k_m_k20fe barstyleK=tops
binwidth=0.1 xlo=12 xhi=16 xflip=true xlabel=Magnitude xpix=500
out=2mass.png
</verbatim></dt>
<dd><p>Overplots histograms of three different columns
from the same input table.
These are treated as three separate datasets which all
happen to use the same input file.
The different datasets are labelled
"<code>J</code>",
"<code>H</code>" and
"<code>K</code>"
so these suffixes appear on all the dataset-dependent
parameters which are supplied.
The binwidth and X range are specified explicitly
rather than leaving them to be chosen automatically
by examining the data.
</p>
<p>The generated plot is <webref url='2mass.png'>here</webref>.</p>
</dd>
|