> From: R-help On Behalf Of Ogbos Okike
> Sent: Wednesday, November 27, 2019 8:56 AM
> To: Rui Barradas
> Cc: r-help
> Subject: Re: [R] Stacking two graphs with different x and y scale on the same
> graph
>
> Dear Rui,
> Many thanks. It is indeed close to what I am look
ooth), col = col[2],
lty = 2, lwd = lwds, ...)
> -Original Message-----
> From: R-help On Behalf Of Rui Barradas
> Sent: Wednesday, November 27, 2019 7:59 AM
> To: Ogbos Okike ; r-help
> Subject: Re: [R] Stacking two graphs with different x and y scale on the
Dear Rui,
Many thanks. It is indeed close to what I am looking for apart from
the issues on the axes.
I am attaching the result plot. The minimum and maximum values of y1
are respectively -5.470919 and 1.298329 while they are 0.0002937659
and 4.808186 for y2.
New problems are: (1) I can't labelle
Hello,
The following is not a complete solution, the axis ranges are wrong, but
it gets you closer, I think.
op <- par(mar = c(5, 5, 5, 5))
plot(c(x1, x2), c(y1, y2), type = "n",xaxt="n", yaxt="n",
ylim = range(c(y1, y2)))
par(new=TRUE)
plot(x1,y1,pch=0,type="b",col="red",yaxt="n",
Dear Contributors,
I have two data. A is of the form:
05 01 01 -0.00376058013285748
05 01 02 -0.0765481943910918
05 01 03 -1.28158758599964
05 01 04 -1.51612545416506
05 01 05 -1.39481276373467
05 01 06 -1.17644992095997
05 01 07 -0.788249311582716
05 01 08 -0.925737027403825
05 01 09 -1.0
5 matches
Mail list logo