AustralianAntarcticDivision / SOmap

Southern Ocean round maps
https://australianantarcticdivision.github.io/SOmap/
24 stars 6 forks source link

Fix plotting for SpatialPolygonsDataFrame in SOauto_map #3

Closed Maschette closed 5 years ago

Maschette commented 5 years ago

The plotting for this almost works. We need to fix the way that the lines are plotted. We could probably do this by giving flexibility for what the point/line options are rather than just type='o', we could make the default for SpatialPolygonsDataFrame objects 'l' and it should fix the issue.

mdsumner commented 5 years ago

When x is a spdf? Got a reprex?

Maschette commented 5 years ago

SOmap_auto(research_blocks) rplot

mdsumner commented 5 years ago

Ah weird, yes thanks

mdsumner commented 5 years ago

Better now!

SOauto_map(SOmap_data$CCAMLR_research_blocks[c(1, 4, 5), ])

image