This file is indexed.

/usr/share/doc/pyxplot/html/ex-mandelbrot.html is in pyxplot-doc 0.9.2-4.

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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!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: Color scale bars</title>

<link href="sec-contourmaps.html" title="Contour maps" rel="next" />
<link href="sec-colmap_custom.html" title="Custom color mappings" rel="prev" />
<link href="sec-colormaps.html" title="Color maps" 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="sec-colmap_custom.html" title="Custom color mappings"><img alt="Previous: Custom color mappings" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>

<td><a href="sec-colormaps.html" title="Color maps"><img alt="Up: Color maps" border="0" src="icons/up.gif" width="32" height="32" /></a></td>

<td><a href="sec-contourmaps.html" title="Contour maps"><img alt="Next: Contour maps" 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="sect0288.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="sect0056.html">Plotting and Vector Graphics</a> <b>:</b>
</span>

</span><span>
<span>
<a href="ch-plotting.html">Plotting: a complete guide</a> <b>:</b>
</span>

</span><span>
<span>
<a href="sec-colormaps.html">Color maps</a> <b>:</b>
</span>

</span><span>

<span>
<b class="current">Color scale bars</b>
</span>
</span>
<hr />
</div>

<div><h2 id="ex:mandelbrot">1.12.2 Color scale bars</h2>
<p>By default, plots with color maps with single-parameter color mappings are accompanied by color scale bars, which appear by default on the right-hand side of the plot. Such scale bars may be configured using the <tt class="tt">set colorkey</tt> command<a name="a0000000887" id="a0000000887"></a>. Issuing the command </p><pre>
set colorkey
</pre><p>by itself causes such a scale to be drawn on graphs in the default position, usually along the right-hand edge of the graphs. The converse action is achieved by: </p><pre>
set nocolorkey
</pre><p>The command </p><pre>
unset colorkey
</pre><p>causes Pyxplot to revert to its default behaviour, as specified in a configuration file, if present. A position for the key may optionally be specified after the <tt class="tt">set colorkey</tt> command, as in the example: </p><pre>
set colorkey bottom
</pre><p>Recognised positions are <tt class="tt">top</tt>, <tt class="tt">bottom</tt>, <tt class="tt">left</tt> and <tt class="tt">right</tt>. <tt class="tt">above</tt> is an alias for <tt class="tt">top</tt>; <tt class="tt">below</tt> is an alias for <tt class="tt">bottom</tt> and <tt class="tt">outside</tt> is an alias for <tt class="tt">right</tt>. </p><p>The format of the ticks along such scale bars may be set using the <tt class="tt">set c1format</tt> command<a name="a0000000888" id="a0000000888"></a> command, which is similar in syntax to the <tt class="tt">set xformat</tt> command (see Section <a href="sec-set_xformat.html">1.8.8</a>), but which uses <tt class="tt">c</tt> as its dummy variable. </p><p>The positions of the ticks along color scale bars may be set using the <tt class="tt">set c1tics</tt> command<a name="a0000000889" id="a0000000889"></a> command, which has similar syntax to the <tt class="tt">set xtics</tt> command. </p><p> <span class="upshape"><span class="mdseries"><span class="rm">An image of the Mandelbrot set.</span></span></span></p><div>

<table cellspacing="0" class="tabular">
<tr>

    
    <td style="border-top-style:solid; border-left:1px solid black; border-right:1px solid black; border-top-color:black; border-top-width:1px; text-align:left"><p> The Mandelbrot set is a set of points in the complex plane whose boundary forms a fractal with a Hausdorff dimension of two. A point <img src="images/img-0051.png" alt="$c$" style="vertical-align:0px; 
                                     width:8px; 
                                     height:8px" class="math gen" /> in the complex plane is defined to lie within the Mandelbrot set if the complex sequence of numbers </p><table id="a0000000890" class="equation" width="100%" cellspacing="0" cellpadding="7">
<tr>
    
    <td style="width:40%">&nbsp;</td>
    <td><img src="images/img-0522.png" alt="\[  z_{n+1} = z_ n^2 + c,  \]" style="width:113px; 
                            height:21px" class="math gen" /></td>
    
    <td style="width:40%">&nbsp;</td>
    <td class="eqnnum" style="width:20%">&nbsp;</td>
</tr>
</table><p> subject to the starting condition <img src="images/img-0523.png" alt="$z_0=0$" style="vertical-align:-2px; 
                                     width:49px; 
                                     height:14px" class="math gen" />, remains bounded. </p></td>

</tr><tr>

    
    <td style="text-align:left; border-right:1px solid black; border-left:1px solid black"><p>The map of this set of points has become a widely-used image of the power of chaos theory to produce complicated structure out of simple algorithms. To produce a more pleasing image, points in the complex plane are often colored differently, depending on how many iterations <img src="images/img-0025.png" alt="$n$" style="vertical-align:0px; 
                                     width:11px; 
                                     height:8px" class="math gen" /> of the above series are required for <img src="images/img-0524.png" alt="$|z_ n|$" style="vertical-align:-5px; 
                                     width:24px; 
                                     height:18px" class="math gen" /> to exceed 2. This is the point of no return, beyond which it can be shown that <img src="images/img-0525.png" alt="$|z_{n+1}|&gt;|z_ n|$" style="vertical-align:-5px; 
                                     width:94px; 
                                     height:18px" class="math gen" /> and that divergence is guaranteed. In numerical implementations of the above iteration, in the absence of any better way to prove that the iteration remains bounded for a certain value of <img src="images/img-0051.png" alt="$c$" style="vertical-align:0px; 
                                     width:8px; 
                                     height:8px" class="math gen" />, some maximum number of iterations <img src="images/img-0360.png" alt="$m$" style="vertical-align:0px; 
                                     width:16px; 
                                     height:8px" class="math gen" /> is chosen, and the series is deemed to have remained bounded if <img src="images/img-0526.png" alt="$|z_ m|&lt;2$" style="vertical-align:-5px; 
                                     width:63px; 
                                     height:18px" class="math gen" />. This is implemented in Pyxplot by the built-in mathematical function <tt class="tt">fractal_­mandel­brot(z,m)</tt><a name="a0000000891" id="a0000000891"></a>, which returns an integer in the range <img src="images/img-0527.png" alt="$0\leq i\leq m$" style="vertical-align:-3px; 
                                     width:79px; 
                                     height:15px" class="math gen" />. </p></td>

</tr><tr>

    
    <td style="text-align:left; border-right:1px solid black; border-left:1px solid black"><p><tt class="ttfamily">set numerics complex</tt><br /><tt class="ttfamily">set sample grid 500x500</tt><br /><tt class="ttfamily">set size square</tt><br /><tt class="ttfamily">set nokey</tt><br /><tt class="ttfamily">set nocolkey</tt><br /><tt class="ttfamily">set log c1</tt><br /><tt class="ttfamily">plot [-2:2][-2:2] fractals.mandelbrot(x+i*y,70)+1 with colormap</tt> </p></td>

</tr><tr>

    
    <td style="border-bottom-style:solid; border-bottom-width:1px; border-left:1px solid black; border-right:1px solid black; text-align:left; border-bottom-color:black"><center> 
<img src="images/img-0529.png" alt="\includegraphics[width=8cm]{examples/eps/ex_mandelbrot}" style="width:8cm" /> </center></td>

</tr>
</table>
</div></div>





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

<td><a href="sec-colormaps.html" title="Color maps"><img alt="Up: Color maps" border="0" src="icons/up.gif" width="32" height="32" /></a></td>

<td><a href="sec-contourmaps.html" title="Contour maps"><img alt="Next: Contour maps" 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="sect0288.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>