1

我通过以下调用Ecdf从包中构建了一个图:Hmisc

require(Hmisc)
Ecdf(latency_targ1, group = CONDITION, lty = c(1, 2, 3, 4), 
        lwd = 4, label.curves = list(method = 'arrow', 
        keys = "lines", lwd = 2), xlim = c(0,500), 
        subtitles = FALSE, xlab = "Latency", 
        ylab = "Proportion latency <= x")

我一直无法找到如何更改绘图轴标签的大小,并且默认大小相当小。

4

1 回答 1

1

试试这个:

Ecdf(latency_targ1, group = CONDITION, lty = c(1, 2, 3, 4), 
    lwd = 4, label.curves = list(method = 'arrow', 
    keys = "lines", lwd = 2), xlim = c(0,500), 
    subtitles = FALSE, xlab = "Latency", 
    ylab = "Proportion latency <= x", 
    cex.lab=1.5, xaxt="n", yaxt="n")
axis(2, cex.axis=1.5)
axis(1, cex.axis=1.5)
于 2013-03-02T09:44:10.460 回答