2013-06-03 14 views

Odpowiedz

28

Tak !, ustawiony pt.cex = 1 i zmienić cex jak chcesz, jak w:

plot(c(1,1)) 
legend("topleft", "Legend", cex=1.3, pch=1, pt.cex = 1) 
5

Możesz ustawić cex dla punktów oddzielnie od reszty legendy. Wciąż jednak czyni to małe pudełko. Bardziej konkretny przykład tego, co próbujesz zrobić, może pomóc. Jednak, czy to rozwiąże problem:

plot(rnorm(10)) 
legend("top", legend="test", pch=21) #everything is normal sized (cex=1 default from par()) 
legend("topleft", legend="test", pch=21, cex=0.5) #everything is small 
legend("topright", legend="test", pch=21, pt.cex=1, cex=0.5) #the point is normal, but the rest is small 

Powodzenia :)

Powiązane problemy