AustralianAntarcticDivision / SOmap

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

title doesn't work well #26

Closed mdsumner closed 5 years ago

mdsumner commented 5 years ago
library(SOmap)
#> Loading required package: raster
#> Loading required package: sp
track <- SOmap_data$mirounga_leonina
print(SOauto_map(track$lon, track$lat, family = "lcc"))
title(main = "Lambert Conformal Conic")

Created on 2019-03-20 by the reprex package (v0.2.1)

Maschette commented 5 years ago

This was a par issue in the print method. I added a main options for print. I need to link it back to SOmap and SOauto_map so that you can put it into them and it becomes part of the SOmap object and print looks for it there, but this should work now:

library(SOmap)
#> Loading required package: raster
#> Loading required package: sp
track <- SOmap_data$mirounga_leonina
print(SOauto_map(track$lon, track$lat, family = "lcc"),main = "Lambert Conformal Conic")

image

mdsumner commented 5 years ago

Oh nice - the other thing is xpd, we are getting clipped - I think the whole aspect thing needs a revisit ... using main like that is much better