This file is indexed.

/usr/share/doc/pyxplot/html/sect0051.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
<!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 representations of the electromagnetic spectrum</title>

<link href="sect0052.html" title="Dates" rel="next" />
<link href="sec-colorObjects.html" title="Colors" rel="prev" />
<link href="sec-colorObjects.html" title="Colors" 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-colorObjects.html" title="Colors"><img alt="Previous: Colors" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>

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

<td><a href="sect0052.html" title="Dates"><img alt="Next: Dates" 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="sect0001.html">Introduction to PyXPlot</a> <b>:</b>
</span>

</span><span>
<span>
<a href="chap-progDataTypes.html">Programming: Pyxplot’s data types</a> <b>:</b>
</span>

</span><span>
<span>
<a href="sec-colorObjects.html">Colors</a> <b>:</b>
</span>

</span><span>

<span>
<b class="current">Color representations of the electromagnetic spectrum</b>
</span>
</span>
<hr />
</div>

<div><h2 id="a0000000052">6.6.1 Color representations of the electromagnetic spectrum</h2>
<p>Two functions, in the <tt class="tt">colors</tt> module, provide color objects which approximate the color of particular wavelengths of light, or of electromagnetic spectra. </p><p>   <big class="large"><b class="bf">colors.wavelength(<img src="images/img-0298.png" alt="$\lambda $" style="vertical-align:0px; 
                                     width:9px; 
                                     height:13px" class="math gen" />,<img src="images/img-0299.png" alt="$norm$" style="vertical-align:0px; 
                                     width:44px; 
                                     height:8px" class="math gen" />)</b></big> <br />The colors.wavelength(<img src="images/img-0298.png" alt="$\lambda $" style="vertical-align:0px; 
                                     width:9px; 
                                     height:13px" class="math gen" />,<img src="images/img-0299.png" alt="$norm$" style="vertical-align:0px; 
                                     width:44px; 
                                     height:8px" class="math gen" />) function returns a color representation of monochromatic light at wavelength <img src="images/img-0298.png" alt="$\lambda $" style="vertical-align:0px; 
                                     width:9px; 
                                     height:13px" class="math gen" />, normalised to brightness <img src="images/img-0299.png" alt="$norm$" style="vertical-align:0px; 
                                     width:44px; 
                                     height:8px" class="math gen" />. A value of <img src="images/img-0300.png" alt="$norm=1$" style="vertical-align:0px; 
                                     width:76px; 
                                     height:12px" class="math gen" /> is recommended for plotting the complete span of the electromagnetic spectrum without colors clipping to white. <a name="a0000000620" id="a0000000620"></a>  </p><p>    <big class="large"><b class="bf">colors.spectrum(<img src="images/img-0301.png" alt="$spec,norm$" style="vertical-align:-4px; 
                                     width:85px; 
                                     height:12px" class="math gen" />)</b></big> <br />The colors.spectrum(<img src="images/img-0301.png" alt="$spec,norm$" style="vertical-align:-4px; 
                                     width:85px; 
                                     height:12px" class="math gen" />) function returns a color representation of the spectrum <img src="images/img-0302.png" alt="$spec$" style="vertical-align:-4px; 
                                     width:33px; 
                                     height:12px" class="math gen" />, normalised to brightness <img src="images/img-0299.png" alt="$norm$" style="vertical-align:0px; 
                                     width:44px; 
                                     height:8px" class="math gen" />. <img src="images/img-0302.png" alt="$spec$" style="vertical-align:-4px; 
                                     width:33px; 
                                     height:12px" class="math gen" /> should be a function object that takes a single input (wavelength) with units of length, and may return an output with arbitrary units. <a name="a0000000621" id="a0000000621"></a>  </p><p>For an example of the use of these functions, see Section <a href="sec-colormaps.html">1.12</a>. </p></div>





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

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

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