PLMAPFILL(3plplot)
π NAME π
plmapfill β okay so this one plots all or a subset of your Shapefile data, and it fills the polygons π
β¨
β¨ SYNOPSIS β¨
plmapfill(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)
π¦ DESCRIPTION π¦
Welcome to the PLplot API page for plmapfill, bestie π«Ά β this is the glow-up version of plmapline(3plplot), literally the same energy, except the items get filled in exactly the same way as plfill(3plplot) does it. No cap. π¨
Redacted form, for when you're being lazy (affectionate):
plmapfill(mapform, name, minx, maxx, miny, maxy, plotentries)
And real talk β this function is used in example 19. Iconic behavior, honestly. π
π ARGUMENTS π
mapform(PLMAPFORM_callback(3plplot), input) β a user-supplied function that transforms the coordinates from the shapefile into your plot coordinate system. Using this transform is how you go from a longitude/latitude situation to, say, a polar stereographic project. At the start,x[0]..[n-1]are the longitudes andy[0]..y[n-1]are the corresponding latitudes. After the call tomapform(),x[]andy[]should be replaced by the corresponding plot coordinates. And if you're not feeling a transform at all?mapformcan just be replaced byNULLand you're chilling. π§name(PLCHAR_VECTOR(3plplot), input) β an ascii character string giving the file name of a set of Shapefile files, without the file extension. Periodt. πminx(PLFLT(3plplot), input) β the minimum x value to be plotted. This has to be in the same units as your Shapefile uses. You could throw in a very large negative number to plot everything, but ngl you can improve performance by limiting the area drawn. The units must match those of the Shapefile projection, which may be longitude or distance or whatever. Oh and PSA: the value ofminxmust be less than the value ofmaxx. π¨maxx(PLFLT(3plplot), input) β the maximum x value to be plotted. Same deal: a very large number plots everything, but limiting the area drawn lowkey improves performance. π«miny(PLFLT(3plplot), input) β the minimum y value to be plotted. Must be in the same units as the Shapefile uses. Very large negative number = plot everything, but you can improve performance by limiting the area drawn. The units have to match the Shapefile projection, which may be latitude or distance, for example. And the value ofminymust be less than the value ofmaxy. πΈmaxy(PLFLT(3plplot), input) β 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. π¦plotentries(PLINT_VECTOR(3plplot), input) β a vector with the zero-based indices of the Shapefile elements that will be drawn. SetplotentriestoNULLand it'll plot all the elements of the Shapefile. Easy. πnplotentries(PLINT(3plplot), input) β the number of items inplotentries. Ignored ifplotentriesisNULL, so don't stress about it. π
π AUTHORS π
Many developers β who are credited at http://plplot.sourceforge.net/credits.php β have contributed to PLplot over its long history. Genuine main character energy from the whole squad, fr fr. π«Ά
π SEE ALSO π
PLplot documentation at http://plplot.sourceforge.net/documentation.php. Go read it, iykyk π
That's the whole vibe check, bestie β this page was living under the PLPLOT manual, dated August, 2026, filed under PLMAPFILL(3plplot). Slay. πβ¨
π¦ where this page comes from
- ubuntu stonking: plplot-doc 5.15.0+dfsg3-4 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms