Projekt R pro statistické výpočty - grafy jednoduchých funkcí

Z GeoWikiCZ
Verze z 14. 3. 2006, 20:55, kterou vytvořil Landa (diskuse | příspěvky) (pridana fce y=sqrt(1+x))
(rozdíl) ← Starší verze | zobrazit aktuální verzi (rozdíl) | Novější verze → (rozdíl)

Fce y = sqrt (1+x)

x <- seq  (-1, 1, by = 0.05)
y <- sqrt (1 + x)

plot (x, y,
      type = "l", lwd = 2, col = "red",
      main = "y = sqrt (1 + x)", sub = "Produced by R",
      cex.sub = .6, cex.main = .9, cex.lab = .8, cex.axis = .75)
Obrázek: Průběh funkce y = sqrt (1+x)