1PLPTEX(3plplot) PLplot API PLPTEX(3plplot)
2
3
4
6 plptex - Write text inside the viewport
7
9 plptex(x, y, dx, dy, just, text)
10
12 Writes text at a specified position and inclination within the view‐
13 port. Text is clipped at the viewport boundaries. The reference point
14 of a string lies along a line passing through the string at half the
15 height of a capital letter. The position of the reference point along
16 this line is determined by just, the reference point is placed at world
17 coordinates (x, y) within the viewport. The inclination of the string
18 is specified in terms of differences of world coordinates making it
19 easy to write text parallel to a line in a graph.
20
21 Redacted form: plptex(x, y, dx, dy, just, text)
22
23 This function is used in example 2-4,10,12-14,20,23,24,26.
24
26 x (PLFLT, input)
27 x coordinate of reference point of string.
28
29 y (PLFLT, input)
30 y coordinate of reference point of string.
31
32 dx (PLFLT, input)
33 Together with dy, this specifies the inclination of the string.
34 The baseline of the string is parallel to a line joining (x, y)
35 to (x+dx, y+dy).
36
37 dy (PLFLT, input)
38 Together with dx, this specifies the inclination of the string.
39
40 just (PLFLT, input)
41 Specifies the position of the string relative to its reference
42 point. If just=0., the reference point is at the left and if
43 just=1., it is at the right of the string. Other values of just
44 give intermediate justifications.
45
46 text (const char *, input)
47 The string to be written out.
48
49
51 Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This
52 man page was automatically generated from the DocBook source of the
53 PLplot documentation, maintained by Alan W. Irwin and Rafael
54 Laboissiere.
55
57 PLplot documentation at http://plplot.sourceforge.net/resources.
58
59
60
61 July, 2010 PLPTEX(3plplot)