


layout takes a matrix that indicates the order in which to add plots to the graphics device. Hi All And thanks in advance for your help. Library ( plotly ) # custom grid style axx % add_surface ( showscale = FALSE ) fig2 % add_surface ( showscale = FALSE ) fig3 % add_surface ( showscale = FALSE ) fig4 % add_surface ( showscale = FALSE ) # subplot and define scene fig % layout ( title = "3D Subplots", scene = list ( domain = list ( x = c ( 0, 0.5 ), y = c ( 0.5, 1 )), xaxis = axx, yaxis = axx, zaxis = axx, aspectmode = 'cube' ), scene2 = list ( domain = list ( x = c ( 0.5, 1 ), y = c ( 0.5, 1 )), xaxis = axx, yaxis = axx, zaxis = axx, aspectmode = 'cube' ), scene3 = list ( domain = list ( x = c ( 0, 0.5 ), y = c ( 0, 0.5 )), xaxis = axx, yaxis = axx, zaxis = axx, aspectmode = 'cube' ), scene4 = list ( domain = list ( x = c ( 0.5, 1 ), y = c ( 0, 0. 1 Answer Sorted by: 1 You can use the layout function to arrange graphics plots.
