You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
whether need to define operators acting on aplot class? #21
The insert_right, insert_top etc will return aplot class (eg. p ), which is composed of multiple subplots. They can be extracted using p$plotlist[[1]] etc. And the theme, scale and others of subplot can be adjusted using p$plotlist[[1]] <- p$plotlist[[1]] + xxx. Whether need to define operators acting on this class, then users can use p[[1]] to extract the subplot?
Activity
GuangchuangYu commentedon Aug 25, 2022
That's a nice idea.
I think the best way is to employ the gglist. However, it needs a lot of changes and may introduce new bugs.
Currently, we can define the
[[.aplotmethod to extract the subplot. Go ahead to do it.