Hello,

Try setting the argument xaxt (x axis type) to "n" (no x axis) and then use ?axis.


plot(breaks, cumfreq0,            # plot the data
   main="Old Faithful Eruptions",  # main title
   xlab="Duration minutes",        # x−axis label
   ylab="Cumulative eruptions",   # y−axis label
   xaxt = "n")
lines(breaks, cumfreq0)
axis(1, at = duration)


Hope this helps,

Rui Barradas

Em 19-03-2013 12:34, Shane Carey escreveu:
Hi,

I am trying to create a Cumulative Frequency graph and I am using the
following example:
http://www.r-tutor.com/elementary-statistics/quantitative-data/cumulative-frequency-graph

When I plot this data, how do I put in "real values" on the x-axis, rather
than the values that
are used for the breaks

Thanks


______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to