File: plscmap0a.html

package info (click to toggle)
plplot 5.15.0%2Bdfsg3-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 31,504 kB
  • sloc: ansic: 79,703; xml: 28,583; cpp: 20,033; ada: 19,456; tcl: 12,081; f90: 11,431; ml: 7,276; java: 6,863; python: 6,792; sh: 3,274; perl: 829; lisp: 75; makefile: 75; sed: 34; fortran: 6
file content (74 lines) | stat: -rw-r--r-- 5,771 bytes parent folder | download | duplicates (8)
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
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>plscmap0a: Set cmap0 colors by 8-bit RGB values and PLFLT alpha transparency value</title><link rel="stylesheet" type="text/css" href="stylesheet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.79.1"><link rel="home" href="index.html" title="Documentation of the PLplot plotting software"><link rel="up" href="API.html" title="Chapter 17. The Common API for PLplot"><link rel="prev" href="plscmap0.html" title="plscmap0: Set cmap0 colors by 8-bit RGB values"><link rel="next" href="plscmap0n.html" title="plscmap0n: Set number of colors in cmap0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">
      <code class="function">plscmap0a</code>: Set cmap0 colors by 8-bit RGB values and
      PLFLT alpha transparency value
    </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="plscmap0.html">Prev</a> </td><th width="60%" align="center">Chapter 17. The Common API for PLplot</th><td width="20%" align="right"> <a accesskey="n" href="plscmap0n.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h4 class="title"><a name="plscmap0a"></a>
      <code class="function">plscmap0a</code>: Set cmap0 colors by 8-bit RGB values and
      PLFLT alpha transparency value
    </h4></div></div></div><p>
      </p><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">
            <b class="fsfunc">plscmap0a</b>
          (</code></td><td>
            <var class="pdparam">r</var>
          , </td></tr><tr><td> </td><td>
            <var class="pdparam">g</var>
          , </td></tr><tr><td> </td><td>
            <var class="pdparam">b</var>
          , </td></tr><tr><td> </td><td>
            <var class="pdparam">alpha</var>
          , </td></tr><tr><td> </td><td>
            <var class="pdparam">ncol0</var>
          <code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div><p>
    </p><p>
      Set cmap0 colors using 8-bit RGB values (see <a class="xref" href="color.html#color-map-0" title="Color Map0">the section called “Color Map0”</a>)
      and PLFLT alpha transparency value.  This sets the entire color
      map – only as many colors as specified will be allocated.
    </p><div class="variablelist"><dl class="variablelist"><dt><span class="term">
          <em class="parameter"><code>r</code></em>
          (<code class="literal"><a class="link" href="c.html#PLINT_VECTOR-type"><code class="function">PLINT_VECTOR</code></a></code>, input)
        </span></dt><dd><p>
            A vector containing unsigned 8-bit integers (0-255)
            representing the degree of red in the color.
          </p></dd><dt><span class="term">
          <em class="parameter"><code>g</code></em>
          (<code class="literal"><a class="link" href="c.html#PLINT_VECTOR-type"><code class="function">PLINT_VECTOR</code></a></code>, input)
        </span></dt><dd><p>
            A vector containing unsigned 8-bit integers (0-255)
            representing the degree of green in the color.
          </p></dd><dt><span class="term">
          <em class="parameter"><code>b</code></em>
          (<code class="literal"><a class="link" href="c.html#PLINT_VECTOR-type"><code class="function">PLINT_VECTOR</code></a></code>, input)
        </span></dt><dd><p>
            A vector containing unsigned 8-bit integers (0-255)
            representing the degree of blue in the color.
          </p></dd><dt><span class="term">
          <em class="parameter"><code>alpha</code></em>
          (<code class="literal"><a class="link" href="c.html#PLFLT_VECTOR-type"><code class="function">PLFLT_VECTOR</code></a></code>, input)
        </span></dt><dd><p>
            A vector containing values (0.0-1.0)
            representing the alpha transparency of the color.
          </p></dd><dt><span class="term">
          <em class="parameter"><code>ncol0</code></em>
          (<code class="literal"><a class="link" href="c.html#PLINT-type"><code class="function">PLINT</code></a></code>, input)
        </span></dt><dd><p>
            Number of items in the
            <code class="literal">
              <em class="parameter"><code>r</code></em>
            </code>,
            <code class="literal">
              <em class="parameter"><code>g</code></em>
            </code>,
            <code class="literal">
              <em class="parameter"><code>b</code></em>
            </code>, and
            <code class="literal">
              <em class="parameter"><code>alpha</code></em>
            </code> vectors.
          </p></dd></dl></div><p>
      Redacted form: <code class="function">plscmap0a(r, g, b, alpha)</code>
    </p><p>
      This function is used in examples 30.
    </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="plscmap0.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="API.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="plscmap0n.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">
      <code class="function">plscmap0</code>: Set cmap0 colors by 8-bit RGB values
     </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 
      <code class="function">plscmap0n</code>: Set number of colors in cmap0
    </td></tr></table></div></body></html>