Question

I've constructed an Ecdf plot from the Hmisc package with the following call:

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")

I have been unable to find how to change the size of the axis labels of the plot and the default size is rather small.

Was it helpful?

Solution

Try this:

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)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top