1PLPOIN(3plplot) PLplot API PLPOIN(3plplot)
2
3
4
6 plpoin - Plot a glyph at the specified points
7
9 plpoin(n, x, y, code)
10
12 Plot a glyph at the specified points. (This function is largely super‐
13 seded by plstring(3plplot) which gives access to many[!] more glyphs.)
14 code=-1 means try to just draw a point. Right now it's just a move
15 and a draw at the same place. Not ideal, since a sufficiently intelli‐
16 gent output device may optimize it away, or there may be faster ways of
17 doing it. This is OK for now, though, and offers a 4X speedup over
18 drawing a Hershey font "point" (which is actually diamond shaped and
19 therefore takes 4 strokes to draw). If 0 < code < 32, then a useful
20 (but small subset) of Hershey symbols is plotted. If 32 <= code <= 127
21 the corresponding printable ASCII character is plotted.
22
23 Redacted form: plpoin(x, y, code)
24
25 This function is used in examples 1, 6, 14, and 29.
26
28 n (PLINT(3plplot), input)
29 Number of points in the x and y vectors.
30
31 x (PLFLT_VECTOR(3plplot), input)
32 A vector containing the x coordinates of points.
33
34 y (PLFLT_VECTOR(3plplot), input)
35 A vector containing the y coordinates of points.
36
37 code (PLINT(3plplot), input)
38 Hershey symbol code (in "ascii-indexed" form with -1 <= code <=
39 127) corresponding to a glyph to be plotted at each of the n
40 points.
41
42
44 Many developers (who are credited at http://plplot.org/credits.php)
45 have contributed to PLplot over its long history.
46
48 PLplot documentation at http://plplot.org/documentation.php.
49
50
51
52 July, 2022 PLPOIN(3plplot)