This file is indexed.

/usr/share/doc/stilts/sun256/shading-density.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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
<html>
   
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <link rel="stylesheet" type="text/css" href="sun-style.css">
      <title>density</title>
   </head>
   
   <body>
      <hr>
      <a href="shading-aux.html">Next</a> <a href="shading-transparent.html">Previous</a> <a href="ShapeMode.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="shading-aux.html">aux</a><br>
       <b>Up: </b><a href="ShapeMode.html">Shading Modes</a><br>
       <b>Previous: </b><a href="shading-transparent.html">transparent</a><br>
      
      <hr>
      <h4><a name="shading-density">8.4.5 <code>density</code></a></h4>
      <p>Paints markers using a configurable colour map
         to indicate how many points are plotted over each other.
         Specifically, it colours each pixel according to how many
         times that pixel has has been covered by one of the markers
         plotted by the layer in question.
         To put it another way,
         it generates a false-colour density map with pixel
         granularity using a smoothing kernel of the form of the
         markers plotted by the layer.
         The upshot is that you can see the plot density
         of points or other markers plotted.
         
      </p>
      <p>This is like <a href="shading-auto.html">auto</a> mode,
         but with more user-configurable options.
         
      </p>
      <p>
         <strong>Usage:</strong>
         <pre>
   shadingN=density colorN=&lt;rrggbb&gt;|red|blue|...
                    densemapN=&lt;map-name&gt;|&lt;color&gt;-&lt;color&gt;[-&lt;color&gt;...]
                    denseclipN=&lt;lo&gt;,&lt;hi&gt; denseflipN=true|false
                    densequantN=&lt;number&gt; densefuncN=log|linear|sqrt|square
                    densesubN=&lt;lo&gt;,&lt;hi&gt;
</pre>
         </p>
      <p>All the parameters listed here
         affect only the relevant layer,
         identified by the suffix
         <code>N</code>.
         
      </p>
      <p>
         <strong>Example:</strong>
         
      </p>
      <div align="center"><img src="plot2-shading-density.png" alt="" align="middle"></div>
      <p><pre>   stilts plot2plane layer1=mark in1=dr5qso.fits
                     <strong>shading1=density</strong> <strong>densemap1=viridis</strong>
                     x1=psfmag_g-psfmag_r y1=psfmag_u-psfmag_g size1=2
                     xmin=-0.5 xmax=2.5 ymin=-1 ymax=6</pre></p>
      <p>Associated parameters are as follows:
         
         <dl>
            <dt><strong><code>colorN = &lt;rrggbb&gt;|red|blue|...</code> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<em>(<a href="http://docs.oracle.com/javase/6/docs/api/java/awt/Color.html">Color</a>)</em></strong></dt>
            <dd>The color of plotted data,
               given by name or as a hexadecimal RGB value.
               
               <p>The standard plotting colour names are
                  <code>red</code>, <code>blue</code>, <code>green</code>, <code>grey</code>, <code>magenta</code>, <code>cyan</code>, <code>orange</code>, <code>pink</code>, <code>yellow</code>, <code>black</code>, <code>light_grey</code>, <code>white</code>.
                  However, many other common colour names (too many to list here)
                  are also understood.
                  The list currently contains those colour names understood
                  by most web browsers,
                  from <code>AliceBlue</code> to <code>YellowGreen</code>,
                  listed e.g. in the
                  <em>Extended color keywords</em> section of
                  the <a href="http://www.w3c.org/TR/css3-color#svg-color">CSS3</a> standard.
                  
               </p>
               <p>Alternatively, a six-digit hexadecimal number <em>RRGGBB</em>
                  may be supplied,
                  optionally prefixed by "<code>#</code>" or "<code>0x</code>",
                  giving red, green and blue intensities,
                  e.g.  "<code>ff00ff</code>", "<code>#ff00ff</code>"
                  or "<code>0xff00ff</code>" for magenta.
                  
               </p>
               <p>[Default: <code>red</code>]
               </p>
            </dd>
            <dt><strong><code>denseclipN = &lt;lo&gt;,&lt;hi&gt;</code> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<em>(<a href="http://andromeda.star.bris.ac.uk/starjavadocs/uk/ac/starlink/ttools/plot2/Subrange.html">Subrange</a>)</em></strong></dt>
            <dd>Defines a subrange of the colour ramp to be used for
               Density shading.
               The value is specified as a (low,high) comma-separated pair
               of two numbers between 0 and 1.
               
               <p>If the full range <code>0,1</code> is used,
                  the whole range of colours specified by the selected
                  shader will be used.
                  But if for instance a value of <code>0,0.5</code> is given,
                  only those colours at the left hand end of the ramp
                  will be seen.
                  
               </p>
               <p>If the null (default) value is chosen,
                  a default clip will be used.
                  This generally covers most or all of the range 0-1
                  but for colour maps which fade to white,
                  a small proportion of the lower end may be excluded,
                  to ensure that all the colours are visually distinguishable
                  from a white background.
                  This default is usually a good idea if the colour map
                  is being used with something like a scatter plot,
                  where markers are plotted against a white background.
                  However, for something like a density map when the whole
                  plotting area is tiled with colours from the map,
                  it may be better to supply the whole range
                  <code>0,1</code> explicitly.
                  
               </p>
            </dd>
            <dt><strong><code>denseflipN = true|false</code> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<em>(Boolean)</em></strong></dt>
            <dd>If true, the colour map on the
               Density
               axis will be reversed.
               
               <p>[Default: <code>false</code>]
               </p>
            </dd>
            <dt><strong><code>densefuncN = log|linear|sqrt|square</code> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<em>(<a href="http://andromeda.star.bris.ac.uk/starjavadocs/uk/ac/starlink/ttools/plot2/Scaling.html">Scaling</a>)</em></strong></dt>
            <dd>Defines the way that values in the
               Density
               range are mapped to the selected colour ramp.
               
               <p>The available options are:
                  
                  <ul>
                     <li><code>log</code>: Logarithmic scaling
                     </li>
                     <li><code>linear</code>: Linear scaling
                     </li>
                     <li><code>sqrt</code>: Square root scaling
                     </li>
                     <li><code>square</code>: Square scaling
                     </li>
                  </ul>
                  
               </p>
               <p>[Default: <code>log</code>]
               </p>
            </dd>
            <dt><strong><code>densemapN = &lt;map-name&gt;|&lt;color&gt;-&lt;color&gt;[-&lt;color&gt;...]</code> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<em>(<a href="http://andromeda.star.bris.ac.uk/starjavadocs/uk/ac/starlink/ttools/plot/Shader.html">Shader</a>)</em></strong></dt>
            <dd>Color map used for
               Density
               axis shading.
               
               <p>A mixed bag of colour ramps are available:
                  <code>blacker</code>,
                  <code>whiter</code>,
                  <code>inferno</code>,
                  <code>magma</code>,
                  <code>plasma</code>,
                  <code>viridis</code>,
                  <code>cubehelix</code>,
                  <code>sron</code>,
                  <code>rainbow</code>,
                  <code>rainbow2</code>,
                  <code>rainbow3</code>,
                  <code>pastel</code>,
                  <code>accent</code>,
                  <code>gnuplot</code>,
                  <code>gnuplot2</code>,
                  <code>specxby</code>,
                  <code>set1</code>,
                  <code>paired</code>,
                  <code>hotcold</code>,
                  <code>rdbu</code>,
                  <code>piyg</code>,
                  <code>brbg</code>,
                  <code>cyan-magenta</code>,
                  <code>red-blue</code>,
                  <code>brg</code>,
                  <code>heat</code>,
                  <code>cold</code>,
                  <code>light</code>,
                  <code>greyscale</code>,
                  <code>colour</code>,
                  <code>standard</code>,
                  <code>bugn</code>,
                  <code>bupu</code>,
                  <code>orrd</code>,
                  <code>pubu</code>,
                  <code>purd</code>,
                  <code>huecl</code>,
                  <code>hue</code>,
                  <code>intensity</code>,
                  <code>rgb_red</code>,
                  <code>rgb_green</code>,
                  <code>rgb_blue</code>,
                  <code>hsv_h</code>,
                  <code>hsv_s</code>,
                  <code>hsv_v</code>,
                  <code>yuv_y</code>,
                  <code>yuv_u</code>,
                  <code>yuv_v</code>,
                  <code>scale_hsv_s</code>,
                  <code>scale_hsv_v</code>,
                  <code>scale_yuv_y</code>.
                  <em>Note:</em>
                  many of these, including rainbow-like ones,
                  are frowned upon by the visualisation community.
                  
               </p>
               <p>You can also construct your own custom colour map
                  by giving a sequence of colour names separated by
                  minus sign ("<code>-</code>") characters.
                  In this case the ramp is a linear interpolation
                  between each pair of colours named,
                  using the same syntax as when specifying
                  a colour value.
                  So for instance
                  "<code>yellow-hotpink-#0000ff</code>"
                  would shade from yellow via hot pink to blue.
                  
               </p>
               <p>[Default: <code>blacker</code>]
               </p>
            </dd>
            <dt><strong><code>densequantN = &lt;number&gt;</code> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<em>(Double)</em></strong></dt>
            <dd>Allows the colour map used for the
               Density
               axis to be quantised.
               If an integer value N is chosen
               then the colour map will be viewed as N discrete evenly-spaced
               levels,
               so that only N different colours will appear in the plot.
               This can be used to generate a contour-like effect,
               and may make it easier to trace the boundaries of
               regions of interest by eye.
               
               <p>If left blank, the colour map is
                  nominally continuous (though in practice it may be quantised
                  to a medium-sized number like 256).
                  
               </p>
            </dd>
            <dt><strong><code>densesubN = &lt;lo&gt;,&lt;hi&gt;</code> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<em>(<a href="http://andromeda.star.bris.ac.uk/starjavadocs/uk/ac/starlink/ttools/plot2/Subrange.html">Subrange</a>)</em></strong></dt>
            <dd>Defines a normalised adjustment to the data range of the
               Density axis.
               The value may be specified as a comma-separated pair
               of two numbers,
               giving the lower and upper bounds of the range of
               of interest respectively.
               This sub-range is applied to the data range that would
               otherwise be used, either automatically calculated
               or explicitly supplied;
               zero corresponds to the lower bound and one to the upper.
               
               <p>The default value "<code>0,1</code>" therefore has
                  no effect.
                  The range could be restricted to its lower half
                  with the value <code>0,0.5</code>.
                  
               </p>
               <p>[Default: <code>0,1</code>]
               </p>
            </dd>
         </dl>
         
      </p>
      <hr><a href="shading-aux.html">Next</a> <a href="shading-transparent.html">Previous</a> <a href="ShapeMode.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="shading-aux.html">aux</a><br>
       <b>Up: </b><a href="ShapeMode.html">Shading Modes</a><br>
       <b>Previous: </b><a href="shading-transparent.html">transparent</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>