how to add space between 2 plots in shiny
For vertical space you could use one or more calls of br
, e.g.,
mainPanel(
plotOutput("plot1"),
br(),
br(),
plotOutput("plot2")
)
1 Like
how to remove space between two plots in shiny?
I guess:
output$rawData <- renderPlot({
par(mfrow = c(4, 1), mar = c(0,4,0,2), oma = c(4,0,4,0))
plot(1:10,10:1,xaxt='n', ann=FALSE)
plot(1:10,10:1, xaxt='n', ann=FALSE)
plot(1:10,10:1, xaxt='n', ann=FALSE)
plot(1:10,10:1, xaxt='n', ann=FALSE)
})