[R] How to hide axis interval values in a plot
plot(cars) this shows a plot having interval values of axes (x-axis:5-25; y-axis:0-120). I want to hide these values. is there any way? -- View this message in context: http://www.nabble.com/How-to-hide-axis-interval-values-in-a-plot-tf3960418.html#a11238540 Sent from the R help mailing list archive at Nabble.com. __ R-help@stat.math.ethz.ch 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.
Re: [R] How to hide axis interval values in a plot
On Thu, 2007-06-21 at 11:07 -0700, spime wrote: plot(cars) this shows a plot having interval values of axes (x-axis:5-25; y-axis:0-120). I want to hide these values. is there any way? plot(cars, axes = FALSE) If you still want the box around the plot region, follow the above with: box() or use: plot(cars, xaxt = n, yaxt = n) See ?plot.default and ?par for more information and standard arguments for plots. If you want axes, but using values and tick marks that you define as opposed to the defaults, see ?axis HTH, Marc Schwartz __ R-help@stat.math.ethz.ch 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.
Re: [R] How to hide axis interval values in a plot
thanks. got my answer. spime wrote: plot(cars) this shows a plot having interval values of axes (x-axis:5-25; y-axis:0-120). I want to hide these values. is there any way? -- View this message in context: http://www.nabble.com/How-to-hide-axis-interval-values-in-a-plot-tf3960418.html#a11240427 Sent from the R help mailing list archive at Nabble.com. __ R-help@stat.math.ethz.ch 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.