Skip to content
Prev 320323 / 398506 Next

Increase font size in plots

You can use the par function instead.

require('vioplot')
data1<-rnorm(100)
data2<-rnorm(10)
data3<-rnorm(1000)
par(cex.lab=2, cex.axis=2)
vioplot(data1,data2,data3)

Best,
Nello

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Alaios
Sent: Dienstag, 26. M?rz 2013 16:15
To: R help
Subject: [R] Increase font size in plots

Hi
I am using violin plots (type of boxplots) and? I am trying to increase the font size in the plots.

It looks like that the violin plots do not work as "normal" plots as the cex parameters are ignored.

You can have a loot at the code below




require('vioplot')
data1<-rnorm(100)
data2<-rnorm(10)
data3<-rnorm(1000)
vioplot(data1,data2,data3,cex.lab=2,cex.axis=2)




Regards
Alex