pan_camera | R Documentation |
The default position for plotly mesh plots are not satisfying for brain plots. This convenience function can pan the camera to lateral or medial view, or to custom made views if you are plotly savvy.
pan_camera(p, camera, aspectratio = 1)
p |
plotly object |
camera |
string or list. |
aspectratio |
camera aspect ratio |
plotly object
library(dplyr)
ggseg3d() %>%
pan_camera("right lateral")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.