/usr/share/doc/stilts/sun256/plot3d-examples.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 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="sun-style.css">
<title>Examples</title>
</head>
<body>
<hr>
<a href="plothist.html">Next</a> <a href="plot3d-usage.html">Previous</a> <a href="plot3d.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="plothist.html">plothist: Old-style Histogram</a><br>
<b>Up: </b><a href="plot3d.html">plot3d: Old-style 3D Scatter Plot</a><br>
<b>Previous: </b><a href="plot3d-usage.html">Usage</a><br>
<hr>
<h3><a name="plot3d-examples">B.13.2 Examples</a></h3>
<p>Here are some examples of <code>plot3d</code> in use:
<dl>
<dt><strong><pre>
stilts plot3d in=cat.xml xdata=RMAG ydata=BMAG zdata=VEL zlog=true
</pre></strong></dt>
<dd>Plots a 3-d scatter plot of red magnitude vs.
blue magnitude vs. velocity; the velocity is plotted
on a logarithmic scale.
Since no <code>omode</code> or <code>out</code> value
has been specified, the plot is posted directly
to the graphics display for inspection.
By adding the parameter
<code>out=xyplot.eps</code>
the plot could be written to an
Encapsulated Postscript file instead.
<p>The generated plot is <a href="xyzplot.png">here</a>.
</p>
</dd>
<dt><strong><pre>
stilts plot3d in=sim1.fits xdata=x ydata=y zdata=z
cmd='addcol vel "sqrt(velx*velx+vely*vely+velz*velz)"' auxdata=vel auxlog=true
xpix=500 ypix=400 phi=50 theta=10 out=cube.jpeg
</pre></strong></dt>
<dd>Plots the x, y, z positions of particles from a
file containing the result of a simulation run.
Here an auxiliary axis is used to colour-code the
points according their velocity.
This is done by introducing a new <code>vel</code>
column to the table using the
<a href="addcol.html"><code>addcol</code></a>
filter command, so that the <code>vel</code> column
can be used as the value for the <code>auxdata</code>
parameter.
Alternatively, the given expression for the velocity
could have been used directly as the value of the
<code>auxdata</code> parameter.
<p>Additionally, the <code>phi</code> and
<code>theta</code> parameters are given
to adjust the orientation of the cube.
</p>
<p>The generated plot is <a href="cube.jpeg">here</a>.
</p>
</dd>
</dl>
</p>
<hr><a href="plothist.html">Next</a> <a href="plot3d-usage.html">Previous</a> <a href="plot3d.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="plothist.html">plothist: Old-style Histogram</a><br>
<b>Up: </b><a href="plot3d.html">plot3d: Old-style 3D Scatter Plot</a><br>
<b>Previous: </b><a href="plot3d-usage.html">Usage</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>
|