Answers for "get plot title over two lines R"

R
0

get plot title over two lines R

x <- rnorm(3)
y <- rnorm(3)
plot(x, y, main=paste("X:",1," ","Y:", 2," ","\nZ:",3))

# \n in main= paste() environment produces new line in plot titles
Posted by: Guest on July-29-2020

Browse Popular Code Answers by Language