/usr/share/doc/stilts/sun256/layer-function.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 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="sun-style.css">
<title>function</title>
</head>
<body>
<hr>
<a href="layer-skyvector.html">Next</a> <a href="layer-gaussian.html">Previous</a> <a href="LayerType.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="layer-skyvector.html">skyvector</a><br>
<b>Up: </b><a href="LayerType.html">Layer Types</a><br>
<b>Previous: </b><a href="layer-gaussian.html">gaussian</a><br>
<hr>
<h4><a name="layer-function">8.3.22 <code>function</code></a></h4>
<p>Plots an analytic function.
This layer is currently only available for the Plane plots
(including histogram).
</p>
<p>
<strong>Usage Overview:</strong>
<pre>
layerN=function axisN=Horizontal|Vertical xnameN=<name> fexprN=<expr>
colorN=<rrggbb>|red|blue|... thickN=<pixels>
dashN=dot|dash|...|<a,b,...> antialiasN=true|false
</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-layer-function.png" alt="" align="middle"></div>
<p><pre> stilts plot2plane <strong>layer1=function</strong> <strong>fexpr1=sin(x)/x</strong> <strong>thick1=3</strong>
xmin=0 xmax=30 ymin=-0.25 ymax=0.25</pre></p>
<p>
<dl>
<dt><strong><code>antialiasN = true|false</code> <em>(Boolean)</em></strong></dt>
<dd>If true, plotted lines are drawn with antialising.
Antialised lines look smoother, but may take
perceptibly longer to draw.
Only has any effect for bitmapped output formats.
<p>[Default: <code>false</code>]
</p>
</dd>
<dt><strong><code>axisN = Horizontal|Vertical</code> <em>(<a href="http://andromeda.star.bris.ac.uk/starjavadocs/uk/ac/starlink/ttools/plot2/layer/FunctionPlotter.FuncAxis.html">FuncAxis</a>)</em></strong></dt>
<dd>Which axis the independent variable varies along.
Options are currently
<code>Horizontal</code> and
<code>Vertical</code>.
<p>[Default: <code>Horizontal</code>]
</p>
</dd>
<dt><strong><code>colorN = <rrggbb>|red|blue|...</code> <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>dashN = dot|dash|...|<a,b,...></code> <em>(float[])</em></strong></dt>
<dd>Determines the dash pattern of the line drawn.
If null (the default), the line is solid.
<p>Possible values for dashed lines are
<code>dot</code>, <code>dash</code>, <code>longdash</code>, <code>dotdash</code>.
You can alternatively supply a comma-separated list
of on/off length values such as
"<code>4,2,8,2</code>".
</p>
</dd>
<dt><strong><code>fexprN = <expr></code> <em>(String)</em></strong></dt>
<dd>An expression using TOPCAT's
<a href="jel.html">expression language</a>
in terms of the independent variable
to define the function.
This expression must be standalone -
it cannot reference any tables.
</dd>
<dt><strong><code>thickN = <pixels></code> <em>(Integer)</em></strong></dt>
<dd>Thickness of plotted line in pixels.
<p>[Default: <code>1</code>]
</p>
</dd>
<dt><strong><code>xnameN = <name></code> <em>(String)</em></strong></dt>
<dd>Name of the independent variable for use in the
function expression.
This is typically
<code>x</code> for a horizontal independent variable and
<code>y</code> for a vertical independent variable,
but any string that is a legal expression language identifier
(starts with a letter, continues with letters, numbers,
underscores) can be used.
<p>[Default: <code>x</code>]
</p>
</dd>
</dl>
</p>
<hr><a href="layer-skyvector.html">Next</a> <a href="layer-gaussian.html">Previous</a> <a href="LayerType.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="layer-skyvector.html">skyvector</a><br>
<b>Up: </b><a href="LayerType.html">Layer Types</a><br>
<b>Previous: </b><a href="layer-gaussian.html">gaussian</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>
|