[R] Changing X axis values
drjimlemon at gmail.com
Fri Dec 18 12:30:12 CET 2015
The usual way is:
However, you will get overlapping labels unless you use a small font or a
large graphics device. You may want to look at the staxlab function in the
On Fri, Dec 18, 2015 at 10:20 PM, Amelia Marsh via R-help <
r-help at r-project.org> wrote:
> Dear Forum,
> Assuming I need to plot a graph. In the code I have defined X axis range as
> In the plot, the values visible w.r.t X axis are 0, 5000, 10000, 18000.
> To improve the graph clarity, is there any way I can show the values of X
> axis as 0, 1000, 2000, 3000, 4000, 5000 .......18000 i.e. the values
> increase by 1000 instead of 5000.
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
More information about the R-help