Why does ggplot give a blank page with the message

2019-09-10 16:51发布

问题:

After reading a shapefile, I am using plot(), and am getting a plot.

But when I am using q=ggplot(), am getting a blank plot along with the message

Regions defined for each Polygons

Any idea why?

回答1:

Use fortify() to plot shapefiles using ggplot.



标签: r ggplot2