/usr/share/doc/pyxplot/html/sect0189.html is in pyxplot-doc 0.8.4-3.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta name="generator" content="plasTeX" />
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
<title>PyXPlot Users' Guide: size</title>
<link href="sect0190.html" title="style" rel="next" />
<link href="sect0188.html" title="seed" rel="prev" />
<link href="sect0126.html" title="set" rel="up" />
<link rel="stylesheet" href="styles/styles.css" />
</head>
<body>
<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="sect0188.html" title="seed"><img alt="Previous: seed" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>
<td><a href="sect0126.html" title="set"><img alt="Up: set" border="0" src="icons/up.gif" width="32" height="32" /></a></td>
<td><a href="sect0190.html" title="style"><img alt="Next: style" border="0" src="icons/next.gif" width="32" height="32" /></a></td>
<td class="navtitle" align="center">PyXPlot Users' Guide</td>
<td><a href="index.html" title="Table of Contents"><img border="0" alt="" src="icons/contents.gif" width="32" height="32" /></a></td>
<td><a href="sect0255.html" title="Index"><img border="0" alt="" src="icons/index.gif" width="32" height="32" /></a></td>
<td><img border="0" alt="" src="icons/blank.gif" width="32" height="32" /></td>
</tr>
</table>
</div>
<div class="breadcrumbs">
<span>
<span>
<a href="index.html">PyXPlot Users' Guide</a> <b>:</b>
</span>
</span><span>
<span>
<a href="sect0075.html">Reference Manual</a> <b>:</b>
</span>
</span><span>
<span>
<a href="ch-reference.html">Command Reference</a> <b>:</b>
</span>
</span><span>
<span>
<a href="sect0126.html">set</a> <b>:</b>
</span>
</span><span>
<span>
<b class="current">size</b>
</span>
</span>
<hr />
</div>
<div><h2 id="a0000000190">1.47.63 size</h2>
<p><a name="a0000001227" id="a0000001227"></a> </p><pre>
set size [<width>]
[( ratio <ratio> | noratio | square)]
[(zratio <ratio> | nozratio )]
</pre><p>The setting <tt class="tt">size</tt> is used to set the width or aspect ratio of the next graph to be generated. If a width is specified, then it may either take the form of a dimensionless number implicitly measured in centimetres, or a quantity with physical dimensions of length such as <tt class="tt">unit(50*mm)</tt>. </p><p>When the keyword <tt class="tt">ratio</tt> is specified, it should be followed by the ratio of the graph’s height to its width, i.e. of the length of its <img src="images/img-0020.png" alt="$y$" style="vertical-align:-4px;
width:9px;
height:12px" class="math gen" />-axes to that of its <img src="images/img-0019.png" alt="$x$" style="vertical-align:0px;
width:10px;
height:8px" class="math gen" />-axes. The keyword <tt class="tt">noratio</tt> returns the aspect ratio to its default value of the golden ratio, and the keyword <tt class="tt">square</tt> sets the aspect ratio to one. </p><p>When the keyword <tt class="tt">zratio</tt> is specified, it should be followed by the ratio of the length of three-dimensional graphs’ <img src="images/img-0101.png" alt="$z$" style="vertical-align:0px;
width:9px;
height:8px" class="math gen" />-axes to that of their <img src="images/img-0019.png" alt="$x$" style="vertical-align:0px;
width:10px;
height:8px" class="math gen" />-axes. The keyword <tt class="tt">nozratio</tt> returns this aspect ratio to its default value of the golden ratio. </p><h3 id="a0000001228">noratio</h3>
<p><a name="a0000001229" id="a0000001229"></a> </p><pre>
set size noratio
</pre><p>Executing the command </p><pre>
set size noratio
</pre><p>resets PyXPlot to produce plots with its default aspect ratio, which is the golden ratio. Other aspect ratios can be set with the <tt class="tt">set size ratio</tt> command. </p><h3 id="a0000001230">ratio</h3>
<p><a name="a0000001231" id="a0000001231"></a> </p><pre>
set size ratio <ratio>
</pre><p>This command sets the aspect ratio of plots produced by PyXPlot. The height of resulting plots will equal the plot width, as set by the <tt class="tt">set width</tt> command, multiplied by this aspect ratio. For example, </p><pre>
set size ratio 2.0
</pre><p>would cause PyXPlot to produce plots that are twice as high as they are wide. The default aspect ratio which PyXPlot uses is a golden ratio of <img src="images/img-0636.png" alt="$2/(1+\sqrt {5})$" style="vertical-align:-5px;
width:85px;
height:21px" class="math gen" />. </p><h3 id="a0000001232">square</h3>
<p><a name="a0000001233" id="a0000001233"></a> </p><pre>
set size square
</pre><p>This command sets PyXPlot to produce square plots, i.e. with unit aspect ratio. Other aspect ratios can be set with the <tt class="tt">set size ratio</tt> command. </p></div>
<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="sect0188.html" title="seed"><img alt="Previous: seed" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>
<td><a href="sect0126.html" title="set"><img alt="Up: set" border="0" src="icons/up.gif" width="32" height="32" /></a></td>
<td><a href="sect0190.html" title="style"><img alt="Next: style" border="0" src="icons/next.gif" width="32" height="32" /></a></td>
<td class="navtitle" align="center">PyXPlot Users' Guide</td>
<td><a href="index.html" title="Table of Contents"><img border="0" alt="" src="icons/contents.gif" width="32" height="32" /></a></td>
<td><a href="sect0255.html" title="Index"><img border="0" alt="" src="icons/index.gif" width="32" height="32" /></a></td>
<td><img border="0" alt="" src="icons/blank.gif" width="32" height="32" /></td>
</tr>
</table>
</div>
<script language="javascript" src="icons/imgadjust.js" type="text/javascript"></script>
</body>
</html>
|