1PLMAP(3plplot) PLplot API PLMAP(3plplot)
2
3
4
6 plmap - Plot continental outline in world coordinates.
7
9 plmap(mapform, type, minlong, maxlong, minlat, maxlat)
10
12 Plots continental outlines in world coordinates. examples/c/x19c demon‐
13 strates how to use this function to create different projections.
14
15 Redacted form: General: plmap(mapform, type, minlong, maxlong, minlat,
16 maxlat) F95, Java, Perl/PDL, Python: Not implemented?
17
18
19 This function is used in example 19.
20
22 mapform (void (*) (PLINT, PLFLT *, PLFLT *), input)
23 A user supplied function to transform the coordinate longitudes
24 and latitudes to a plot coordinate system. By using this
25 transform, we can change from a longitude, latitude coordinate
26 to a polar stereographic project, for example. Initially,
27 x[0]..[n-1] are the longitudes and y[0]..y[n-1] are the corre‐
28 sponding latitudes. After the call to mapform(), x[] and y[]
29 should be replaced by the corresponding plot coordinates. If
30 no transform is desired, mapform can be replaced by NULL.
31
32 type (char *, input)
33 type is a character string. The value of this parameter deter‐
34 mines the type of background. The possible values are: "globe"
35 -- continental outlines "usa" -- USA and state boundaries
36 "cglobe" -- continental outlines and countries "usaglobe" --
37 USA, state boundaries and continental outlines
38
39
40 minlong (PLFLT, input)
41 The value of the longitude on the left side of the plot. The
42 value of minlong must be less than the value of maxlong, and the
43 quantity maxlong-minlong must be less than or equal to 360.
44
45 maxlong (PLFLT, input)
46 The value of the longitude on the right side of the plot.
47
48 minlat (PLFLT, input)
49 The minimum latitude to be plotted on the background. One can
50 always use -90.0 as the boundary outside the plot window will
51 be automatically eliminated. However, the program will be
52 faster if one can reduce the size of the background plotted.
53
54 maxlat (PLFLT, input)
55 The maximum latitudes to be plotted on the background. One can
56 always use 90.0 as the boundary outside the plot window will be
57 automatically eliminated.
58
59
61 Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This
62 man page was automatically generated from the DocBook source of the
63 PLplot documentation, maintained by Alan W. Irwin and Rafael
64 Laboissiere.
65
67 PLplot documentation at http://plplot.sourceforge.net/resources.
68
69
70
71 July, 2010 PLMAP(3plplot)