[R] Overlapping axis numbering and labels when using par(new=TRUE)?

MacQueen, Don macqueen1 at llnl.gov
Mon Sep 19 18:03:03 CEST 2016

Take a look at what

 plot(1:10, yaxt='n', xaxt='n')

does. Then study the help page for the par function, i.e.,


See also


Don MacQueen

Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550

On 9/19/16, 8:50 AM, "R-help on behalf of mviljamaa"
<r-help-bounces at r-project.org on behalf of mviljamaa at kapsi.fi> wrote:

>I'm trying to plot two data sets on the same plot by using
>However this results in the axis numbering and labels being plotted
>twice as seen in the following picture:
>How can I get the axis numbering and labels to not overlap? I could also
>manage with plotting only the axis numbering and labels of the other
>plot, but not of the other.
>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.

More information about the R-help mailing list