/usr/share/doc/plplot-doc/html/plw3d.html is in plplot-doc 5.10.0-0ubuntu5.
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 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>plw3d: Set up window for 3-d plotting</title><link rel="stylesheet" type="text/css" href="stylesheet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="The PLplot Plotting Library"><link rel="up" href="API.html" title="Chapter 18. The Common API for PLplot"><link rel="prev" href="plvsta.html" title="plvsta: Select standard viewport"><link rel="next" href="plwidth.html" title="plwidth: Set pen width"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">
<code class="function">plw3d</code>: Set up window for 3-d plotting
</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="plvsta.html">Prev</a> </td><th width="60%" align="center">Chapter 18. The Common API for PLplot</th><td width="20%" align="right"> <a accesskey="n" href="plwidth.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h4 class="title"><a name="plw3d"></a>
<code class="function">plw3d</code>: Set up window for 3-d plotting
</h4></div></div></div><p>
</p><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">
<b class="fsfunc">plw3d</b>
(</code></td><td><var class="pdparam">basex</var>, </td></tr><tr><td> </td><td><var class="pdparam">basey</var>, </td></tr><tr><td> </td><td><var class="pdparam">height</var>, </td></tr><tr><td> </td><td><var class="pdparam">xmin</var>, </td></tr><tr><td> </td><td><var class="pdparam">xmax</var>, </td></tr><tr><td> </td><td><var class="pdparam">ymin</var>, </td></tr><tr><td> </td><td><var class="pdparam">ymax</var>, </td></tr><tr><td> </td><td><var class="pdparam">zmin</var>, </td></tr><tr><td> </td><td><var class="pdparam">zmax</var>, </td></tr><tr><td> </td><td><var class="pdparam">alt</var>, </td></tr><tr><td> </td><td><var class="pdparam">az</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div><p>
</p><p>
Sets up a window for a three-dimensional surface plot within the
currently defined two-dimensional window. The enclosing box for the
surface plot defined by
<code class="literal"><em class="parameter"><code>xmin</code></em></code>,
<code class="literal"><em class="parameter"><code>xmax</code></em></code>,
<code class="literal"><em class="parameter"><code>ymin</code></em></code>,
<code class="literal"><em class="parameter"><code>ymax</code></em></code>,
<code class="literal"><em class="parameter"><code>zmin</code></em></code> and
<code class="literal"><em class="parameter"><code>zmax</code></em></code> in user-coordinate
space is mapped into a box of world coordinate size
<code class="literal"><em class="parameter"><code>basex</code></em></code> by
<code class="literal"><em class="parameter"><code>basey</code></em></code> by
<code class="literal"><em class="parameter"><code>height</code></em></code> so that
<code class="literal"><em class="parameter"><code>xmin</code></em></code> maps to
<code class="literal">-<em class="parameter"><code>basex</code></em>/2</code>,
<code class="literal"><em class="parameter"><code>xmax</code></em></code> maps to
<code class="literal"><em class="parameter"><code>basex</code></em>/2</code>,
<code class="literal"><em class="parameter"><code>ymin</code></em></code> maps to
<code class="literal">-<em class="parameter"><code>basey</code></em>/2</code>,
<code class="literal"><em class="parameter"><code>ymax</code></em></code> maps to
<code class="literal"><em class="parameter"><code>basey</code></em>/2</code>,
<code class="literal"><em class="parameter"><code>zmin</code></em></code> maps to
<code class="literal">0</code> and
<code class="literal"><em class="parameter"><code>zmax</code></em></code> maps to
<code class="literal"><em class="parameter"><code>height</code></em></code>. The resulting
world-coordinate box is then viewed by an observer at altitude
<code class="literal"><em class="parameter"><code>alt</code></em></code> and azimuth
<code class="literal"><em class="parameter"><code>az</code></em></code>. This routine must be
called before <a class="link" href="plbox3.html" title="plbox3: Draw a box with axes, etc, in 3-d"><code class="function"> plbox3</code></a> or <a class="link" href="plot3d.html" title="plot3d: Plot 3-d surface plot"><code class="function">plot3d</code></a>. For a more complete description
of three-dimensional plotting see <a class="xref" href="tri-d-plots.html" title="Three Dimensional Surface Plots">the section called “Three Dimensional Surface Plots”</a>.
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term">
<em class="parameter"><code>basex</code></em>
(<code class="literal">PLFLT</code>, input)
</span></dt><dd><p>
The x coordinate size of the world-coordinate box.
</p></dd><dt><span class="term">
<em class="parameter"><code>basey</code></em>
(<code class="literal">PLFLT</code>, input)
</span></dt><dd><p>
The y coordinate size of the world-coordinate box.
</p></dd><dt><span class="term">
<em class="parameter"><code>height</code></em>
(<code class="literal">PLFLT</code>, input)
</span></dt><dd><p>
The z coordinate size of the world-coordinate box.
</p></dd><dt><span class="term">
<em class="parameter"><code>xmin</code></em>
(<code class="literal">PLFLT</code>, input)
</span></dt><dd><p>
The minimum user x coordinate value.
</p></dd><dt><span class="term">
<em class="parameter"><code>xmax</code></em>
(<code class="literal">PLFLT</code>, input)
</span></dt><dd><p>
The maximum user x coordinate value.
</p></dd><dt><span class="term">
<em class="parameter"><code>ymin</code></em>
(<code class="literal">PLFLT</code>, input)
</span></dt><dd><p>
The minimum user y coordinate value.
</p></dd><dt><span class="term">
<em class="parameter"><code>ymax</code></em>
(<code class="literal">PLFLT</code>, input)
</span></dt><dd><p>
The maximum user y coordinate value.
</p></dd><dt><span class="term">
<em class="parameter"><code>zmin</code></em>
(<code class="literal">PLFLT</code>, input)
</span></dt><dd><p>
The minimum user z coordinate value.
</p></dd><dt><span class="term">
<em class="parameter"><code>zmax</code></em>
(<code class="literal">PLFLT</code>, input)
</span></dt><dd><p>
The maximum user z coordinate value.
</p></dd><dt><span class="term">
<em class="parameter"><code>alt</code></em>
(<code class="literal">PLFLT</code>, input)
</span></dt><dd><p>
The viewing altitude in degrees above the XY plane.
</p></dd><dt><span class="term">
<em class="parameter"><code>az</code></em>
(<code class="literal">PLFLT</code>, input)
</span></dt><dd><p>
The viewing azimuth in degrees. When
<code class="literal"><em class="parameter"><code>az</code></em>=0</code>, the observer is
looking face onto the ZX plane, and as
<code class="literal"><em class="parameter"><code>az</code></em></code> is increased, the
observer moves clockwise around the box when viewed from above
the XY plane.
</p></dd></dl></div><p>
Redacted form: <code class="function">plw3d(basex, basey, height, xmin, xmax, ymin, ymax, zmin, zmax, alt, az)</code>
</p><p>
This function is examples 8,11,18,21.
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="plvsta.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="API.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="plwidth.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">
<code class="function">plvsta</code>: Select standard viewport
 </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 
<code class="function">plwidth</code>: Set pen width
</td></tr></table></div></body></html>
|