ich möchte diese zwei Funktionen plotten. Wenn ich das mache, sind die Achsenbezeichnung überlagert. Könnte mir bitte jemand helfen, wie man diese Funktionen am besten plotten kann? Vielen Dank.
Code: Alles auswählen
Q=10
C=15
fun1 <- function(S) A=(Q^2)/S
S=c(0,1,2,3,4,5,6,7,8,9,10,11,12)
fun2 <- function(S) B=(C/1)-(2*S)
plot (fun1(S), type="l", col="blue")
par(new=TRUE)
plot (fun2(S), type="l", col="red")