This repository has been archived by the owner on May 16, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
colour.plotting.models.html
421 lines (384 loc) · 27.1 KB
/
colour.plotting.models.html
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>colour.plotting.models Module — Colour 0.3.5 documentation</title>
<link rel="stylesheet" href="_static/basic.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/bootswatch-3.1.0/colour/bootstrap.min.css" type="text/css" />
<link rel="stylesheet" href="_static/bootstrap-sphinx.css" type="text/css" />
<link rel="stylesheet" href="_static/styles.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '0.3.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/javascript" src="_static/js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="_static/js/jquery-fix.js"></script>
<script type="text/javascript" src="_static/bootstrap-3.1.0/js/bootstrap.min.js"></script>
<script type="text/javascript" src="_static/bootstrap-sphinx.js"></script>
<link rel="top" title="Colour 0.3.5 documentation" href="index.html" />
<link rel="up" title="colour.plotting Package" href="colour.plotting.html" />
<link rel="next" title="colour.plotting.notation Module" href="colour.plotting.notation.html" />
<link rel="prev" title="colour.plotting.diagrams Module" href="colour.plotting.diagrams.html" />
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
<meta name="apple-mobile-web-app-capable" content="yes">
</head>
<body>
<div id="navbar" class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html"><img src="_static/Colour_Logo_Icon_001.png">
Colour 0.3</a>
<!--<span class="navbar-text navbar-version pull-left"><b>0.3</b></span>-->
</div>
<div class="collapse navbar-collapse nav-collapse">
<ul class="nav navbar-nav">
<li class="divider-vertical"></li>
<li><a href="http://colour-science.org">colour-science.org</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-life-ring"> Documentation</i><b class="caret"></b></a>
<ul class="dropdown-menu">
<li>
<a href="api.html" class="fa fa-life-ring"> API Reference</a>
</li>
<li>
<a href="http://nbviewer.ipython.org/github/colour-science/colour-ipython/blob/master/notebooks/colour.ipynb', True)" class="fa fa-book"> IPython Notebooks</a>
</li>
<li>
<a href="http://colour-science.org/features.php" class="fa fa-lightbulb-o"> Features</a>
</li>
<li>
<a href="http://colour-science.org/contributing.php"><span class="fa fa-gears"> Contributing</span></a>
</li>
</ul>
</li>
<li>
<a href="colour.plotting.diagrams.html" title="Previous Chapter: colour.plotting.diagrams Module"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm">« colour.plotting....</span>
</a>
</li>
<li>
<a href="colour.plotting.notation.html" title="Next Chapter: colour.plotting.notation Module"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm">colour.plotting.... »</span>
</a>
</li>
</ul>
<form class="navbar-form navbar-right" action="search.html" method="get">
<div class="form-group">
<input type="text" name="q" class="form-control" placeholder="Search" />
</div>
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="section" id="module-colour.plotting.models">
<span id="colour-plotting-models-module"></span><h1>colour.plotting.models Module<a class="headerlink" href="#module-colour.plotting.models" title="Permalink to this headline">¶</a></h1>
<div class="section" id="colour-models-plotting">
<h2>Colour Models Plotting<a class="headerlink" href="#colour-models-plotting" title="Permalink to this headline">¶</a></h2>
<p>Defines the colour models plotting objects:</p>
<ul class="simple">
<li><a class="reference internal" href="#colour.plotting.models.RGB_colourspaces_CIE_1931_chromaticity_diagram_plot" title="colour.plotting.models.RGB_colourspaces_CIE_1931_chromaticity_diagram_plot"><tt class="xref py py-func docutils literal"><span class="pre">RGB_colourspaces_CIE_1931_chromaticity_diagram_plot()</span></tt></a></li>
<li><a class="reference internal" href="#colour.plotting.models.RGB_colourspaces_CIE_1960_UCS_chromaticity_diagram_plot" title="colour.plotting.models.RGB_colourspaces_CIE_1960_UCS_chromaticity_diagram_plot"><tt class="xref py py-func docutils literal"><span class="pre">RGB_colourspaces_CIE_1960_UCS_chromaticity_diagram_plot()</span></tt></a></li>
<li><a class="reference internal" href="#colour.plotting.models.RGB_colourspaces_CIE_1976_UCS_chromaticity_diagram_plot" title="colour.plotting.models.RGB_colourspaces_CIE_1976_UCS_chromaticity_diagram_plot"><tt class="xref py py-func docutils literal"><span class="pre">RGB_colourspaces_CIE_1976_UCS_chromaticity_diagram_plot()</span></tt></a></li>
<li><a class="reference internal" href="#colour.plotting.models.RGB_chromaticity_coordinates_CIE_1931_chromaticity_diagram_plot" title="colour.plotting.models.RGB_chromaticity_coordinates_CIE_1931_chromaticity_diagram_plot"><tt class="xref py py-func docutils literal"><span class="pre">RGB_chromaticity_coordinates_CIE_1931_chromaticity_diagram_plot()</span></tt></a></li>
<li><a class="reference internal" href="#colour.plotting.models.RGB_chromaticity_coordinates_CIE_1960_UCS_chromaticity_diagram_plot" title="colour.plotting.models.RGB_chromaticity_coordinates_CIE_1960_UCS_chromaticity_diagram_plot"><tt class="xref py py-func docutils literal"><span class="pre">RGB_chromaticity_coordinates_CIE_1960_UCS_chromaticity_diagram_plot()</span></tt></a></li>
<li><a class="reference internal" href="#colour.plotting.models.RGB_chromaticity_coordinates_CIE_1976_UCS_chromaticity_diagram_plot" title="colour.plotting.models.RGB_chromaticity_coordinates_CIE_1976_UCS_chromaticity_diagram_plot"><tt class="xref py py-func docutils literal"><span class="pre">RGB_chromaticity_coordinates_CIE_1976_UCS_chromaticity_diagram_plot()</span></tt></a></li>
<li><a class="reference internal" href="#colour.plotting.models.single_transfer_function_plot" title="colour.plotting.models.single_transfer_function_plot"><tt class="xref py py-func docutils literal"><span class="pre">single_transfer_function_plot()</span></tt></a></li>
<li><a class="reference internal" href="#colour.plotting.models.multi_transfer_function_plot" title="colour.plotting.models.multi_transfer_function_plot"><tt class="xref py py-func docutils literal"><span class="pre">multi_transfer_function_plot()</span></tt></a></li>
</ul>
<dl class="function">
<dt id="colour.plotting.models.get_RGB_colourspace">
<tt class="descclassname">colour.plotting.models.</tt><tt class="descname">get_RGB_colourspace</tt><big>(</big><em>colourspace</em><big>)</big><a class="reference internal" href="_modules/colour/plotting/models.html#get_RGB_colourspace"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#colour.plotting.models.get_RGB_colourspace" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the <em>RGB</em> colourspace with given name.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>colourspace</strong> (<em>unicode</em>) – <em>RGB</em> colourspace name.</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><em>RGB</em> colourspace.</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">RGB_Colourspace</td>
</tr>
<tr class="field-even field"><th class="field-name">Raises:</th><td class="field-body"><tt class="xref py py-exc docutils literal"><span class="pre">KeyError</span></tt> –
If the given <em>RGB</em> colourspace is not found in the factory <em>RGB</em>
colourspaces.</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="function">
<dt id="colour.plotting.models.RGB_colourspaces_CIE_1931_chromaticity_diagram_plot">
<tt class="descclassname">colour.plotting.models.</tt><tt class="descname">RGB_colourspaces_CIE_1931_chromaticity_diagram_plot</tt><big>(</big><em>colourspaces=None</em>, <em>cmfs='CIE 1931 2 Degree Standard Observer'</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="_modules/colour/plotting/models.html#RGB_colourspaces_CIE_1931_chromaticity_diagram_plot"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#colour.plotting.models.RGB_colourspaces_CIE_1931_chromaticity_diagram_plot" title="Permalink to this definition">¶</a></dt>
<dd><p>Plots given <em>RGB</em> colourspaces in <em>CIE 1931 Chromaticity Diagram</em>.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>colourspaces</strong> (<em>list, optional</em>) – <em>RGB</em> colourspaces to plot.</li>
<li><strong>cmfs</strong> (<em>unicode, optional</em>) – Standard observer colour matching functions used for diagram bounds.</li>
<li><strong>**kwargs</strong> (<em>**</em>) – Keywords arguments.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Definition success.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">bool</p>
</td>
</tr>
</tbody>
</table>
<p class="rubric">Examples</p>
<div class="highlight-python"><div class="highlight"><pre><span class="gp">>>> </span><span class="n">csps</span> <span class="o">=</span> <span class="p">[</span><span class="s">'sRGB'</span><span class="p">,</span> <span class="s">'ACES2065-1'</span><span class="p">]</span>
<span class="gp">>>> </span><span class="n">RGB_colourspaces_CIE_1931_chromaticity_diagram_plot</span><span class="p">(</span><span class="n">csps</span><span class="p">)</span>
<span class="go">True</span>
</pre></div>
</div>
</dd></dl>
<dl class="function">
<dt id="colour.plotting.models.RGB_colourspaces_CIE_1960_UCS_chromaticity_diagram_plot">
<tt class="descclassname">colour.plotting.models.</tt><tt class="descname">RGB_colourspaces_CIE_1960_UCS_chromaticity_diagram_plot</tt><big>(</big><em>colourspaces=None</em>, <em>cmfs='CIE 1931 2 Degree Standard Observer'</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="_modules/colour/plotting/models.html#RGB_colourspaces_CIE_1960_UCS_chromaticity_diagram_plot"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#colour.plotting.models.RGB_colourspaces_CIE_1960_UCS_chromaticity_diagram_plot" title="Permalink to this definition">¶</a></dt>
<dd><p>Plots given <em>RGB</em> colourspaces in <em>CIE 1960 UCS Chromaticity Diagram</em>.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>colourspaces</strong> (<em>list, optional</em>) – <em>RGB</em> colourspaces to plot.</li>
<li><strong>cmfs</strong> (<em>unicode, optional</em>) – Standard observer colour matching functions used for diagram bounds.</li>
<li><strong>**kwargs</strong> (<em>**</em>) – Keywords arguments.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Definition success.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">bool</p>
</td>
</tr>
</tbody>
</table>
<p class="rubric">Examples</p>
<div class="highlight-python"><div class="highlight"><pre><span class="gp">>>> </span><span class="n">csps</span> <span class="o">=</span> <span class="p">[</span><span class="s">'sRGB'</span><span class="p">,</span> <span class="s">'ACES2065-1'</span><span class="p">]</span>
<span class="gp">>>> </span><span class="n">RGB_colourspaces_CIE_1960_UCS_chromaticity_diagram_plot</span><span class="p">(</span><span class="n">csps</span><span class="p">)</span>
<span class="go">True</span>
</pre></div>
</div>
</dd></dl>
<dl class="function">
<dt id="colour.plotting.models.RGB_colourspaces_CIE_1976_UCS_chromaticity_diagram_plot">
<tt class="descclassname">colour.plotting.models.</tt><tt class="descname">RGB_colourspaces_CIE_1976_UCS_chromaticity_diagram_plot</tt><big>(</big><em>colourspaces=None</em>, <em>cmfs='CIE 1931 2 Degree Standard Observer'</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="_modules/colour/plotting/models.html#RGB_colourspaces_CIE_1976_UCS_chromaticity_diagram_plot"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#colour.plotting.models.RGB_colourspaces_CIE_1976_UCS_chromaticity_diagram_plot" title="Permalink to this definition">¶</a></dt>
<dd><p>Plots given <em>RGB</em> colourspaces in <em>CIE 1976 UCS Chromaticity Diagram</em>.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>colourspaces</strong> (<em>list, optional</em>) – <em>RGB</em> colourspaces to plot.</li>
<li><strong>cmfs</strong> (<em>unicode, optional</em>) – Standard observer colour matching functions used for diagram bounds.</li>
<li><strong>**kwargs</strong> (<em>**</em>) – Keywords arguments.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Definition success.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">bool</p>
</td>
</tr>
</tbody>
</table>
<p class="rubric">Examples</p>
<div class="highlight-python"><div class="highlight"><pre><span class="gp">>>> </span><span class="n">csps</span> <span class="o">=</span> <span class="p">[</span><span class="s">'sRGB'</span><span class="p">,</span> <span class="s">'ACES2065-1'</span><span class="p">]</span>
<span class="gp">>>> </span><span class="n">RGB_colourspaces_CIE_1976_UCS_chromaticity_diagram_plot</span><span class="p">(</span><span class="n">csps</span><span class="p">)</span>
<span class="go">True</span>
</pre></div>
</div>
</dd></dl>
<dl class="function">
<dt id="colour.plotting.models.RGB_chromaticity_coordinates_CIE_1931_chromaticity_diagram_plot">
<tt class="descclassname">colour.plotting.models.</tt><tt class="descname">RGB_chromaticity_coordinates_CIE_1931_chromaticity_diagram_plot</tt><big>(</big><em>RGB</em>, <em>colourspace</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="_modules/colour/plotting/models.html#RGB_chromaticity_coordinates_CIE_1931_chromaticity_diagram_plot"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#colour.plotting.models.RGB_chromaticity_coordinates_CIE_1931_chromaticity_diagram_plot" title="Permalink to this definition">¶</a></dt>
<dd><p>Plots given <em>RGB</em> colourspace array in <em>CIE 1931 Chromaticity Diagram</em>.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>RGB</strong> (<em>array_like</em>) – <em>RGB</em> colourspace array.</li>
<li><strong>colourspace</strong> (<em>RGB_Colourspace</em>) – <em>RGB</em> colourspace of the <em>RGB</em> array.</li>
<li><strong>**kwargs</strong> (<em>**</em>) – Keywords arguments.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Definition success.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">bool</p>
</td>
</tr>
</tbody>
</table>
<p class="rubric">Examples</p>
<div class="highlight-python"><div class="highlight"><pre><span class="gp">>>> </span><span class="n">RGB</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">random</span><span class="o">.</span><span class="n">random</span><span class="p">((</span><span class="mi">10</span><span class="p">,</span> <span class="mi">10</span><span class="p">,</span> <span class="mi">3</span><span class="p">))</span>
<span class="gp">>>> </span><span class="n">RGB_chromaticity_coordinates_CIE_1931_chromaticity_diagram_plot</span><span class="p">(</span><span class="n">RGB</span><span class="p">)</span>
<span class="go">True</span>
</pre></div>
</div>
</dd></dl>
<dl class="function">
<dt id="colour.plotting.models.RGB_chromaticity_coordinates_CIE_1960_UCS_chromaticity_diagram_plot">
<tt class="descclassname">colour.plotting.models.</tt><tt class="descname">RGB_chromaticity_coordinates_CIE_1960_UCS_chromaticity_diagram_plot</tt><big>(</big><em>RGB</em>, <em>colourspace</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="_modules/colour/plotting/models.html#RGB_chromaticity_coordinates_CIE_1960_UCS_chromaticity_diagram_plot"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#colour.plotting.models.RGB_chromaticity_coordinates_CIE_1960_UCS_chromaticity_diagram_plot" title="Permalink to this definition">¶</a></dt>
<dd><p>Plots given <em>RGB</em> colourspace array in <em>CIE 1960 UCS Chromaticity Diagram</em>.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>RGB</strong> (<em>array_like</em>) – <em>RGB</em> colourspace array.</li>
<li><strong>colourspace</strong> (<em>RGB_Colourspace</em>) – <em>RGB</em> colourspace of the <em>RGB</em> array.</li>
<li><strong>**kwargs</strong> (<em>**</em>) – Keywords arguments.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Definition success.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">bool</p>
</td>
</tr>
</tbody>
</table>
<p class="rubric">Examples</p>
<div class="highlight-python"><div class="highlight"><pre><span class="gp">>>> </span><span class="n">RGB</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">random</span><span class="o">.</span><span class="n">random</span><span class="p">((</span><span class="mi">10</span><span class="p">,</span> <span class="mi">10</span><span class="p">,</span> <span class="mi">3</span><span class="p">))</span>
<span class="gp">>>> </span><span class="n">RGB_chromaticity_coordinates_CIE_1960_UCS_chromaticity_diagram_plot</span><span class="p">(</span><span class="n">RGB</span><span class="p">)</span>
<span class="go">True</span>
</pre></div>
</div>
</dd></dl>
<dl class="function">
<dt id="colour.plotting.models.RGB_chromaticity_coordinates_CIE_1976_UCS_chromaticity_diagram_plot">
<tt class="descclassname">colour.plotting.models.</tt><tt class="descname">RGB_chromaticity_coordinates_CIE_1976_UCS_chromaticity_diagram_plot</tt><big>(</big><em>RGB</em>, <em>colourspace</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="_modules/colour/plotting/models.html#RGB_chromaticity_coordinates_CIE_1976_UCS_chromaticity_diagram_plot"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#colour.plotting.models.RGB_chromaticity_coordinates_CIE_1976_UCS_chromaticity_diagram_plot" title="Permalink to this definition">¶</a></dt>
<dd><p>Plots given <em>RGB</em> colourspace array in <em>CIE 1976 UCS Chromaticity Diagram</em>.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>RGB</strong> (<em>array_like</em>) – <em>RGB</em> colourspace array.</li>
<li><strong>colourspace</strong> (<em>RGB_Colourspace</em>) – <em>RGB</em> colourspace of the <em>RGB</em> array.</li>
<li><strong>**kwargs</strong> (<em>**</em>) – Keywords arguments.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Definition success.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">bool</p>
</td>
</tr>
</tbody>
</table>
<p class="rubric">Examples</p>
<div class="highlight-python"><div class="highlight"><pre><span class="gp">>>> </span><span class="n">RGB</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">random</span><span class="o">.</span><span class="n">random</span><span class="p">((</span><span class="mi">10</span><span class="p">,</span> <span class="mi">10</span><span class="p">,</span> <span class="mi">3</span><span class="p">))</span>
<span class="gp">>>> </span><span class="n">RGB_chromaticity_coordinates_CIE_1976_UCS_chromaticity_diagram_plot</span><span class="p">(</span><span class="n">RGB</span><span class="p">)</span>
<span class="go">True</span>
</pre></div>
</div>
</dd></dl>
<dl class="function">
<dt id="colour.plotting.models.single_transfer_function_plot">
<tt class="descclassname">colour.plotting.models.</tt><tt class="descname">single_transfer_function_plot</tt><big>(</big><em>colourspace='sRGB'</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="_modules/colour/plotting/models.html#single_transfer_function_plot"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#colour.plotting.models.single_transfer_function_plot" title="Permalink to this definition">¶</a></dt>
<dd><p>Plots given colourspace transfer function.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>colourspace</strong> (<em>unicode, optional</em>) – <em>RGB</em> Colourspace transfer function to plot.</li>
<li><strong>**kwargs</strong> (<em>**</em>) – Keywords arguments.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Definition success.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">bool</p>
</td>
</tr>
</tbody>
</table>
<p class="rubric">Examples</p>
<div class="highlight-python"><div class="highlight"><pre><span class="gp">>>> </span><span class="n">single_transfer_function_plot</span><span class="p">()</span>
<span class="go">True</span>
</pre></div>
</div>
</dd></dl>
<dl class="function">
<dt id="colour.plotting.models.multi_transfer_function_plot">
<tt class="descclassname">colour.plotting.models.</tt><tt class="descname">multi_transfer_function_plot</tt><big>(</big><em>colourspaces=None</em>, <em>inverse=False</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="_modules/colour/plotting/models.html#multi_transfer_function_plot"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#colour.plotting.models.multi_transfer_function_plot" title="Permalink to this definition">¶</a></dt>
<dd><p>Plots given colourspaces transfer functions.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>colourspaces</strong> (<em>list, optional</em>) – Colourspaces transfer functions to plot.</li>
<li><strong>inverse</strong> (<em>bool</em>) – Plot inverse transfer functions.</li>
<li><strong>**kwargs</strong> (<em>**</em>) – Keywords arguments.</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Definition success.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">bool</p>
</td>
</tr>
</tbody>
</table>
<p class="rubric">Examples</p>
<div class="highlight-python"><div class="highlight"><pre><span class="gp">>>> </span><span class="n">multi_transfer_function_plot</span><span class="p">([</span><span class="s">'sRGB'</span><span class="p">,</span> <span class="s">'Rec. 709'</span><span class="p">])</span>
<span class="go">True</span>
</pre></div>
</div>
</dd></dl>
</div>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="container">
<p class="pull-right">
<a href="#">Back to top</a>
</p>
<p>
© Copyright 2013 - 2015, Colour Developers.<br/>
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.2.2.<br/>
</p>
</div>
</footer>
</body>
</html>