Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move SOmap_auto legend #61

Open
Maschette opened this issue Aug 5, 2019 · 3 comments
Open

Move SOmap_auto legend #61

Maschette opened this issue Aug 5, 2019 · 3 comments

Comments

@Maschette
Copy link

it would be good to have the legend default for SOmap_auto on the left side of the plot, or add the functionality to pick it.

@raymondben
Copy link
Member

Can you give an example of a legend with SOmap_auto? I think these will only come from plotting a raster (via SOplot)?

@Maschette
Copy link
Author

I am pretty sure when I first put this issue up SOmap_auto still printed the bathymetry legend by default but it is when you use SOmap::SOmap_auto(bathyleg=TRUE) which has also highlighted to me something is not right....
image

@raymondben
Copy link
Member

2075f13. Legends with autoplot are horribly problematic. I am wondering if we should not abandon aspectplot.default to set the plot up when there is a legend, and just let raster handle it. It won't necessarily make maximum use of space, but it much less prone to catastrophic layout failures. Needs discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants