1PLMAPFILL(3plplot) PLplot API PLMAPFILL(3plplot)
2
3
4
6 plmapfill - Plot all or a subset of Shapefile data, filling the poly‐
7 gons
8
10 plmapfill(mapform, name, minx, maxx, miny, maxy, plotentries, nploten‐
11 tries)
12
14 As per plmapline(3plplot), however the items are filled in the same way
15 as plfill(3plplot).
16
17 Redacted form: plmapfill(mapform, name, minx, maxx, miny, maxy, ploten‐
18 tries)
19
20 This function is used in example 19.
21
23 mapform (PLMAPFORM_callback(3plplot), input)
24 A user supplied function to transform the coordinates given in
25 the shapefile into a plot coordinate system. By using this
26 transform, we can change from a longitude, latitude coordinate
27 to a polar stereographic project, for example. Initially,
28 x[0]..[n-1] are the longitudes and y[0]..y[n-1] are the corre‐
29 sponding latitudes. After the call to mapform(), x[] and y[]
30 should be replaced by the corresponding plot coordinates. If no
31 transform is desired, mapform can be replaced by NULL.
32
33 name (PLCHAR_VECTOR(3plplot), input)
34 An ascii character string specifying the file name of a set of
35 Shapefile files without the file extension.
36
37 minx (PLFLT(3plplot), input)
38 The minimum x value to be plotted. This must be in the same
39 units as used by the Shapefile. You could use a very large nega‐
40 tive number to plot everything, but you can improve performance
41 by limiting the area drawn. The units must match those of the
42 Shapefile projection, which may be for example longitude or dis‐
43 tance. The value of minx must be less than the value of maxx.
44
45 maxx (PLFLT(3plplot), input)
46 The maximum x value to be plotted. You could use a very large
47 number to plot everything, but you can improve performance by
48 limiting the area drawn.
49
50 miny (PLFLT(3plplot), input)
51 The minimum y value to be plotted. This must be in the same
52 units as used by the Shapefile. You could use a very large nega‐
53 tive number to plot everything, but you can improve performance
54 by limiting the area drawn. The units must match those of the
55 Shapefile projection, which may be for example latitude or dis‐
56 tance. The value of miny must be less than the value of maxy.
57
58 maxy (PLFLT(3plplot), input)
59 The maximum y value to be plotted. You could use a very large
60 number to plot everything, but you can improve performance by
61 limiting the area drawn.
62
63 plotentries (PLINT_VECTOR(3plplot), input)
64 A vector containing the zero-based indices of the Shapefile ele‐
65 ments which will be drawn. Setting plotentries to NULL will plot
66 all elements of the Shapefile.
67
68 nplotentries (PLINT(3plplot), input)
69 The number of items in plotentries. Ignored if plotentries is
70 NULL.
71
72
74 Many developers (who are credited at http://plplot.org/credits.php)
75 have contributed to PLplot over its long history.
76
78 PLplot documentation at http://plplot.org/documentation.php.
79
80
81
82 July, 2022 PLMAPFILL(3plplot)