Next Previous Up Contents
Next: regquery: Queries the VO registry
Up: plothist: Old-style Histogram
Previous: Usage

B.16.2 Examples

Here are some examples of plothist in use:

stilts plothist in=cat.xml xdata=RMAG-BMAG
Plots a histogram of the R-B colour. The plot is displayed directly on the screen.

The generated plot is here.

stilts plothist in=cat.xml xdata=RMAG-BMAG ofmt=eps-gzip out=hist.eps.gz
Makes the same plot as the previous example, but writes it to a gzipped encapsulated postscript file instead of displaying it on the screen.

The generated plot is here.

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
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 "J", "H" and "K" 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.

The generated plot is here.


Next Previous Up Contents
Next: regquery: Queries the VO registry
Up: plothist: Old-style Histogram
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