This file is indexed.

/usr/share/doc/pyxplot/html/sect0116.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
<!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: with</title>

<link href="sect0117.html" title="print" rel="next" />
<link href="sect0115.html" title="title" rel="prev" />
<link href="sect0112.html" title="plot" 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="sect0115.html" title="title"><img alt="Previous: title" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>

<td><a href="sect0112.html" title="plot"><img alt="Up: plot" border="0" src="icons/up.gif" width="32" height="32" /></a></td>

<td><a href="sect0117.html" title="print"><img alt="Next: print" 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="sect0112.html">plot</a> <b>:</b>
</span>

</span><span>

<span>
<b class="current">with</b>
</span>
</span>
<hr />
</div>

<div><h2 id="a0000000117">1.37.4 with</h2>
<p><a name="a0000001087" id="a0000001087"></a> </p><p>The <tt class="tt">with</tt> modifier controls the style in which data should be plotted. For example, the statement </p><pre>
plot "data.dat" index 1 using 4:5 with lines
</pre><p> specifies that data should be plotted using lines connecting each datapointto its neighbours. More generally, the <tt class="tt">with</tt> modifier can be followed by a range of settings which fine-tune the manner in which the data are displayed; for example, the statement </p><pre>
plot "data.dat" with lines linewidth 2.0
</pre><p> would use twice the default width of line. </p><p>The following is a complete list of all of PyXPlot’s plot styles – i.e. all of the words which may be used in place of <tt class="tt">lines</tt>: <tt class="tt">arrows_­head</tt>, <tt class="tt">arrows_­no­head</tt>, <tt class="tt">arrows_­two­head</tt>, <tt class="tt">boxes</tt>, <tt class="tt">Colour­Map</tt>, <tt class="tt">Contour­Map</tt>, <tt class="tt">dots</tt>, <tt class="tt">Filled­Region</tt>, <tt class="tt">fsteps</tt>, <tt class="tt">histeps</tt>, <tt class="tt">impulses</tt>, <tt class="tt">lines</tt>, <tt class="tt">Lines­Points</tt>, <tt class="tt">Lower­Limits</tt>, <tt class="tt">points</tt>, <tt class="tt">stars</tt>, <tt class="tt">steps</tt>, <tt class="tt">surface</tt>, <tt class="tt">Upper­Limits</tt>, <tt class="tt">wbox­es</tt>, <tt class="tt">X­Error­Bars</tt>, <tt class="tt">X­Error­Range</tt>, <tt class="tt">XY­Error­Bars</tt>, <tt class="tt">XY­Error­Range</tt>, <tt class="tt">XYZ­Error­Bars</tt>, <tt class="tt">XYZ­Error­Range</tt>, <tt class="tt">XZ­Error­Bars</tt>, <tt class="tt">XZ­Error­Range</tt>, <tt class="tt">Y­Error­Bars</tt>, <tt class="tt">Y­Error­Range</tt>, <tt class="tt">Y­Error­Shaded</tt>, <tt class="tt">YZ­Error­Bars</tt>, <tt class="tt">YZ­Error­Range</tt>, <tt class="tt">Z­Error­Bars</tt>, <tt class="tt">Z­Error­Range</tt>. In addition, <tt class="tt">lp</tt> and <tt class="tt">pl</tt> are recognised as abbreviations for <tt class="tt">lines­points</tt>; <tt class="tt">error­bars</tt> is recognised as an abbreviation for <tt class="tt">y­error­bars</tt>; <tt class="tt">error­range</tt> is recognised as an abbreviation for <tt class="tt">y­error­range</tt>; and <tt class="tt">arrows_­two­way</tt> is recognised as an alternative for <tt class="tt">arrows_­two­head</tt>. </p><p>As well as the names of these plot styles, the <tt class="tt">with</tt> modifier can also be followed by style modifiers such as <tt class="tt">line­width</tt> which alter the exact appearance of various plot styles. A complete list of these is as follows: </p><ul class="itemize">
<li><p><tt class="tt">colour</tt><a name="a0000001088" id="a0000001088"></a> – used to select the colour in which each dataset is to be plotted. It should be followed either by an integer, to set a colour from the present palette (see Section <a href="sec-palette.html">1.1.1</a>), or by a recognised colour name, a complete list of which can be found in Section <a href="sec-colour_names.html">8.4</a>. Alternatively, arbitrary colours may be specified by using one of the forms <tt class="tt">rgb0.1:­0.2:­0.3</tt>, <tt class="tt">hsb0.1:­0.2:­0.3</tt> or <tt class="tt">cmyk0.4:­0.3:­0.2:­0.1</tt>, where the colon-separated values indicate the RGB, HSB or CMYK components of the desired colour in the range 0 to 1. This modifier may also be spelt <tt class="tt">color</tt>.<a name="a0000001089" id="a0000001089"></a> </p></li><li><p><tt class="tt">fillcolour</tt><a name="a0000001090" id="a0000001090"></a> – used to select the colour in which each dataset is filled. The colour may be specified using any of the styles listed for <tt class="tt">colour</tt>. May also be spelt <tt class="tt">fillcolour</tt>. </p></li><li><p><tt class="tt">linetype</tt><a name="a0000001091" id="a0000001091"></a> – used to numerically select the type of line – for example, solid, dotted, dashed, etc. – which should be used in line-based plot styles. A complete list of PyXPlot’s numbered line types can be found in Chapter <a href="ch-linetypes_table.html">7</a>. May be abbreviated <tt class="tt">lt</tt>. </p></li><li><p><tt class="tt">linewidth</tt><a name="a0000001092" id="a0000001092"></a> – used to select the width of line which should be used in line-based plot styles, where unity represents the default width. May be abbreviated <tt class="tt">lw</tt>. </p></li><li><p><tt class="tt">pointlinewidth</tt><a name="a0000001093" id="a0000001093"></a> – used to select the width of line which should be used to stroke points in point-based plot styles, where unity represents the default width. May be abbreviated <tt class="tt">plw</tt>. </p></li><li><p><tt class="tt">pointsize</tt><a name="a0000001094" id="a0000001094"></a> – used to select the size of drawn points, where unity represents the default size. May be abbreviated <tt class="tt">ps</tt>. </p></li><li><p><tt class="tt">pointtype</tt><a name="a0000001095" id="a0000001095"></a> – used to numerically select the type of point – for example, crosses, circles, etc. – used by point-based plot styles. A complete list of PyXPlot’s numbered point types can be found in Chapter <a href="ch-linetypes_table.html">7</a>. May be abbreviated <tt class="tt">pt</tt>. </p></li>
</ul><p>Any number of these modifiers may be placed sequentially after the keyword <tt class="tt">with</tt>, as in the following examples: </p><pre>
plot 'datafile' using 1:2 with points pointsize 2
plot 'datafile' using 1:2 with lines colour red linewidth 2
plot 'datafile' using 1:2 with lp col 1 lw 2 ps 3
</pre><p>Where modifiers take numerical values, expressions of the form <tt class="tt">$2+1</tt>, similar to those supplied to the <tt class="tt">using</tt> modifier, may be used to indicate that each datapoint should be displayed in a different style or in a different colour. The following example would plot a datafile with <tt class="tt">points</tt>, drawing the position of each point from the first two columns of the supplied datafile and the size of each point from the third column: </p><pre>
plot 'datafile' using 1:2 with points pointsize $3
</pre></div>





<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="sect0115.html" title="title"><img alt="Previous: title" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>

<td><a href="sect0112.html" title="plot"><img alt="Up: plot" border="0" src="icons/up.gif" width="32" height="32" /></a></td>

<td><a href="sect0117.html" title="print"><img alt="Next: print" 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>