powered by
Set MSUthemes base R graphical parameters
set_msu_par( family = "Metropolis", adj = 0, mar = c(5, 3, 3, 2.5), bty = "n", ... )
Returns an invisible named list.
Font used for all text elements. Default "Metropolis".
Alignment of text for title. Default 0.
Margins. Default c(5, 3, 3, 2.5).
c(5, 3, 3, 2.5)
Axis lines. Default "n".
Additional arguments passed to par
par
# save user's current par values that this function will change oldpar <- par("family", "adj", "mar", "bty") set_msu_par() plot(1:4, 1:4, col=1:4, main = "Title") par(oldpar)
Run the code above in your browser using DataLab