0
barplot
コードを検討してください。Rバロットのバウンディングボックスのサイズを大きくすることはできますか?
pdf("ThreadCreationLatency.pdf")
B <- c(52.6,26.2,0.6)
pp <- barplot(B, main="Thread Creation to First Instruction", ylab="Time (us)",
names.arg=c("std::thread", "Goroutines", "Arachne"),
cex.names=1.5, cex.axis=1.5, cex.lab=1.5, cex.main=1.5, ylim=c(0,60))
text(x=pp , y=B+2, labels=as.character(B), xpd=TRUE, cex=1.5)
dev.off()
私は1.6
、ラベルのサイズが大きくなるようなものにcex.lab
を高めるが、それは、プロットの左バウンディングボックスをオーバーフローして切り捨てられます場合。
左端のバウンディングボックスのサイズを大きくして、切り捨てずに大きなラベルを作成することはできますか? par('mar')
ため
を参照してください 'par' - 特に' PAR(MAR = ...) '各側 – thelatemail
に余白を調整し、このページへの徹底した精査を与えることを、私は? http://research.stowers-instituteを参照してください。 org/efg/R/Graphics/Basics/mar-oma / – MichaelChirico