Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

get plot title over two lines R

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

# 
 in main= paste() environment produces new line in plot titles 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #plot #title #lines #R
ADD COMMENT
Topic
Name
5+3 =