[R] plotting

Marc Schwartz mschwartz at medanalytics.com
Sat Jul 13 04:53:56 CEST 2002

> -----Original Message-----
> From: owner-r-help at stat.math.ethz.ch
[mailto:owner-r-help at stat.math.ethz.ch] On
> Behalf Of Francisco J Molina
> Sent: Friday, July 12, 2002 8:16 PM
> To: r-help
> Subject: [R] plotting
> I am plotting a function.
> Does anyone know how I can plot the graph with the ticks in a
> vector v I would provide to the plotting function?

If I understand your question correctly, you would use the axis()
function.  See ?axis.

If you are using plot() to generate the graphic, you would specify "axes
= FALSE" as an argument to plot(), which would tell the function to not
generate axis lines, tick marks and axis labels at the tick marks. This
would then allow you to define your own using axis().

For an additional set of arguments to plot() see ?plot.default.

Hope that helps.


r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list