Change Font & Item Size of Base R Plot Legend (Example) | How to Increase Proportions | par Function
Автор: Statistics Globe
Загружено: 2022-06-17
Просмотров: 1073
How to change font and item size in a plot legend in the R programming language. More details: https://statisticsglobe.com/change-fo...
R code of this video:
plot(1:5, 5:1, # Create plot
col = 1:5,
pch = 16)
legend("topright", # Create legend
legend = LETTERS[1:5],
pch = 16,
col = 1:5)
plot(1:5, 5:1, # Create plot
col = 1:5,
pch = 16)
op <- par(cex = 2) # Change & save options
legend("topright", # Create legend
legend = LETTERS[1:5],
pch = 16,
col = 1:5)
par(op) # Restore options options
Follow me on Social Media:
Facebook – Statistics Globe Page: / statisticsglobecom
Facebook – Group for Discussions & Questions: / statisticsglobe
LinkedIn – Statistics Globe Page: / statisticsglobe
LinkedIn – Group for Discussions & Questions: / 12555223
Twitter: / joachimschork
Music by bensound.com
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: