This program is typed in from the DECUS DTR newsletter vol 4 no 9.
It consists of several files whose intent is to provide a SIXEL
command. This command will convert ReGIS files to SIXEL files for
dumping to printers like LN03.
        DTR graphics can be plotted onto ReGIS files with commands
like

DTR>READY YACHTS
DTR>PLOT X_Y LOA,PRICE OF YACHTS ON YACHTS.SLO
DTR>EXIT

The YACHTS.SLO file is a ReGIS file. While DECSlide will do the conversion,
it's expensive.

SIXEL can run interactively, using output logical DISPLAY$DEVICE which
defaults to TT:. It must be able to allocate DISPLAY$DEVICE.


        To use to create a SIXEL file from a ReGIS file you'd give
a command like

$SIXEL YACHTS.SLO YACHTS.SLS
which uses the default VT240 ReGIS setup.

To make a rotated graph use the command
$SIXEL/GRAPH_TYPE=ROTATED YACHTS.SLO YACHTS.SLS

GRAPH_TYPE=EXPANDED or GRAPH_TYPE=COMPRESSED
can be used by instructing the VT240 to do expanded or compressed
graphs.

The following is an example of use:

$! Make sixel file for print...
$!1st, create the ReGIS file.
$DTR
        Ready YACHTS
        Plot X_Y LOA,price of YACHTS on YACHTS.SLO
        Exit
$!
$ DEFINE DISPLAY$DEVICE _TTA6:          ! TTA6: IS A VT240
$ SIXEL/GRAPH=EXPANDED YACHTS.SLO MY_GRAPH.SIX
$ PRINT MY_GRAPH.SIX

Note that a real VT240 is needed since the ReGIS to SIXEL conversion
is done in hardware on that.

        Note that the command

$SET HOST 0/log=logfile

could be used to capture characters sent to a VT240 in logfile if a
ReGIS plot package that has no file output provisions is used.


