Scroll to navigation

PLMAPSTRING(3plplot) PLplot API PLMAPSTRING(3plplot)

NAME

plmapstring - Plot all or a subset of Shapefile data using strings or points in world coordinates

SYNOPSIS

plmapstring(mapform, name, string, minx, maxx, miny, maxy, plotentries, nplotentries)

DESCRIPTION

As per plmapline(3plplot), however the items are plotted as strings or points in the same way as plstring(3plplot).

Redacted form: plmapstring(mapform, name, string, minx, maxx, miny, maxy, plotentries)

This function is not used in any examples.

ARGUMENTS

A user supplied function to transform the coordinates given in the shapefile into a plot coordinate system. By using this transform, we can change from a longitude, latitude coordinate to a polar stereographic project, for example. Initially, x[0]..[n-1] are the longitudes and y[0]..y[n-1] are the corresponding latitudes. After the call to mapform(), x[] and y[] should be replaced by the corresponding plot coordinates. If no transform is desired, mapform can be replaced by NULL.
An ascii character string specifying the file name of a set of Shapefile files without the file extension.
A UTF-8 character string to be drawn.
The minimum x value to be plotted. This must be in the same units as used by the Shapefile. You could use a very large negative number to plot everything, but you can improve performance by limiting the area drawn. The units must match those of the Shapefile projection, which may be for example longitude or distance. The value of minx must be less than the value of maxx.
The maximum x value to be plotted. You could use a very large number to plot everything, but you can improve performance by limiting the area drawn.
The minimum y value to be plotted. This must be in the same units as used by the Shapefile. You could use a very large negative number to plot everything, but you can improve performance by limiting the area drawn. The units must match those of the Shapefile projection, which may be for example latitude or distance. The value of miny must be less than the value of maxy.
The maximum y value to be plotted. You could use a very large number to plot everything, but you can improve performance by limiting the area drawn.
A vector containing the zero-based indices of the Shapefile elements which will be drawn. Setting plotentries to NULL will plot all elements of the Shapefile.
The number of items in plotentries. Ignored if plotentries is NULL.

AUTHORS

Many developers (who are credited at http://plplot.org/credits.php) have contributed to PLplot over its long history.

SEE ALSO

PLplot documentation at http://plplot.org/documentation.php.

January, 2024