/usr/share/doc/stilts/sun256/layer-link2.html 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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="sun-style.css">
<title>link2</title>
</head>
<body>
<hr>
<a href="layer-mark2.html">Next</a> <a href="layer-xycorr.html">Previous</a> <a href="LayerType.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="layer-mark2.html">mark2</a><br>
<b>Up: </b><a href="LayerType.html">Layer Types</a><br>
<b>Previous: </b><a href="layer-xycorr.html">xycorr</a><br>
<hr>
<h4><a name="layer-link2">8.3.8 <code>link2</code></a></h4>
<p>Plots a line linking two positions from the same
input table row.
</p>
<p>
<strong>Usage Overview:</strong>
<pre>
layerN=link2 shadingN=auto|flat|translucent|transparent|density|aux|weighted <shade-paramsN>
<pos-coord-params1N> <pos-coord-params2N> inN=<table>
ifmtN=<in-format> istreamN=true|false icmdN=<cmds>
</pre>
</p>
<p>All the parameters listed here
affect only the relevant layer,
identified by the suffix
<code>N</code>.
</p>
<p>
<dl>
<dt><strong>Positional Coordinate Parameters:</strong></dt>
<dd>The positional coordinates
<code><pos-coord-params1N></code>
, <code><pos-coord-params2N></code>
give 2 positions for each row of the input table.
Their form depends on the plot geometry,
i.e. which plotting command is used.
For a plane plot (<a href="plot2plane.html"><code>plot2plane</code></a>)
the parameters would be
<code>x1N</code>, <code>y1N</code>,
<code>x2N</code> and <code>y2N</code>.
The coordinate parameter values are in all cases strings
interpreted as numeric expressions based on column names.
These can be column names, fixed values or algebraic
expressions as described in <a href="jel.html">Section 10</a>.
</dd>
</dl>
</p>
<p>
<strong>Example:</strong>
</p>
<div align="center"><img src="plot2-layer-link2.png" alt="" align="middle"></div>
<p><pre> stilts plot2sky clon=14.78 clat=-72.1525 radius=0.0015 sex=false
layer_h=mark in_h=ngc346.fits lon_h=_RAJ2000 lat_h=_DEJ2000 color_h=red
layer_g=mark in_g=ngc346xGaiadr1.fits lon_g=ra lat_g=dec color_g=blue shading_g=flat size_g=3
<strong>in_x=ngc346xGaiadr1.fits</strong> <strong>lon1_x=_RAJ2000</strong> <strong>lat1_x=_DEJ2000</strong> <strong>lon2_x=ra</strong> <strong>lat2_x=dec</strong> <strong>shading_x=flat</strong>
<strong>layer_xl=link2</strong> <strong>color_xl=forestgreen</strong>
layer_xm=mark2 color_xm=greenyellow size_xm=4 shape_xm=open_circle
seq=_xm,_xl,_h,_g leglabel_h=HST leglabel_g='Gaia DR1' legseq=_h,_g legpos=0.95,0.95</pre></p>
<p>
<dl>
<dt><strong><code>icmdN = <cmds></code> <em>(<a href="http://andromeda.star.bris.ac.uk/starjavadocs/uk/ac/starlink/ttools/filter/ProcessingStep.html">ProcessingStep[]</a>)</em></strong></dt>
<dd>Specifies processing to be performed on
the layer N input table as specified by parameter <code>inN</code>.
The value of this parameter is one or more of the filter
commands described in <a href="filterSteps.html">Section 6.1</a>.
If more than one is given, they must be separated by
semicolon characters (";").
This parameter can be repeated multiple times on the same
command line to build up a list of processing steps.
The sequence of commands given in this way
defines the processing pipeline which is performed on the table.
<p>Commands may alteratively be supplied in an external file,
by using the indirection character '@'.
Thus a value of "<code>@filename</code>"
causes the file <code>filename</code> to be read for a list
of filter commands to execute. The commands in the file
may be separated by newline characters and/or semicolons.
</p>
</dd>
<dt><strong><code>ifmtN = <in-format></code> <em>(String)</em></strong></dt>
<dd>Specifies the format of the input table as specified by parameter <code>inN</code>.
The known formats are listed in <a href="inFormats.html">Section 5.2.1</a>.
This flag can be used if you know what format your
table is in.
If it has the special value
<code>(auto)</code> (the default),
then an attempt will be
made to detect the format of the table automatically.
This cannot always be done correctly however, in which case
the program will exit with an error explaining which
formats were attempted.
<p>[Default: <code>(auto)</code>]
</p>
</dd>
<dt><strong><code>inN = <table></code> <em>(<a href="http://www.starlink.ac.uk/stil/javadocs/uk/ac/starlink/table/StarTable.html">StarTable</a>)</em></strong></dt>
<dd>The location of the input table.
This may take one of the following forms:
<ul>
<li>A filename.</li>
<li>A URL.</li>
<li>The special value "<code>-</code>",
meaning standard input.
In this case the input format must be given explicitly
using the <code>ifmtN</code>
parameter.
Note that not all formats can be streamed in this way.
</li>
<li>A system command line with
either a "<code><</code>" character at the start,
or a "<code>|</code>" character at the end
("<code><syscmd</code>" or
"<code>syscmd|</code>").
This executes the given pipeline and reads from its
standard output.
This will probably only work on unix-like systems.
</li>
</ul>
In any case, compressed data in one of the supported compression
formats (gzip, Unix compress or bzip2) will be decompressed
transparently.
</dd>
<dt><strong><code>istreamN = true|false</code> <em>(Boolean)</em></strong></dt>
<dd>If set true, the input table
specified by the <code>inN</code> parameter
will be read as a stream.
It is necessary to give the
<code>ifmtN</code> parameter
in this case.
Depending on the required operations and processing mode,
this may cause the read to fail (sometimes it is necessary
to read the table more than once).
It is not normally necessary to set this flag;
in most cases the data will be streamed automatically
if that is the best thing to do.
However it can sometimes result in less resource usage when
processing large files in certain formats (such as VOTable).
<p>[Default: <code>false</code>]
</p>
</dd>
<dt><strong><code>shadingN = auto|flat|translucent|transparent|density|aux|weighted <shade-paramsN></code> <em>(<a href="http://andromeda.star.bris.ac.uk/starjavadocs/uk/ac/starlink/ttools/plot2/layer/ShapeMode.html">ShapeMode</a>)</em></strong></dt>
<dd>Determines how plotted objects in layer N
are coloured.
This may be influenced by how many objects are plotted
over each other as well as the values of other parameters.
Available options (<a href="ShapeMode.html">Section 8.4</a>) are:
<ul>
<li><code><a href="shading-auto.html">auto</a></code></li>
<li><code><a href="shading-flat.html">flat</a></code></li>
<li><code><a href="shading-translucent.html">translucent</a></code></li>
<li><code><a href="shading-transparent.html">transparent</a></code></li>
<li><code><a href="shading-density.html">density</a></code></li>
<li><code><a href="shading-aux.html">aux</a></code></li>
<li><code><a href="shading-weighted.html">weighted</a></code></li>
</ul>
Each of these options comes with its own set of parameters
to specify the details of how colouring is done.
<p>[Default: <code>auto</code>]
</p>
</dd>
</dl>
</p>
<hr><a href="layer-mark2.html">Next</a> <a href="layer-xycorr.html">Previous</a> <a href="LayerType.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="layer-mark2.html">mark2</a><br>
<b>Up: </b><a href="LayerType.html">Layer Types</a><br>
<b>Previous: </b><a href="layer-xycorr.html">xycorr</a><br>
<hr><i>STILTS - Starlink Tables Infrastructure Library Tool Set<br>Starlink User Note256<br>STILTS web page:
<a href="http://www.starlink.ac.uk/stilts/">http://www.starlink.ac.uk/stilts/</a><br>Author email:
<a href="mailto:m.b.taylor@bristol.ac.uk">m.b.taylor@bristol.ac.uk</a><br>Mailing list:
<a href="mailto:topcat-user@jiscmail.ac.uk">topcat-user@jiscmail.ac.uk</a><br></i></body>
</html>
|