[R] Overlapping axis numbering and labels when using par(new=TRUE)?
Jim Lemon
drjimlemon at gmail.com
Mon Sep 19 23:08:04 CEST 2016
Hi mviljamaa,
Have a look a the twoord.plot function in the plotrix package.
Jim
On Tue, Sep 20, 2016 at 1:50 AM, mviljamaa <mviljamaa at kapsi.fi> wrote:
> I'm trying to plot two data sets on the same plot by using par(new=TRUE).
>
> However this results in the axis numbering and labels being plotted twice as
> seen in the following picture:
>
> http://i.imgur.com/4b1sNIc.png
>
> 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
> 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.
More information about the R-help
mailing list