How to remove caption in Plot?

Asked

Viewed 1,011 times

2

How can I remove the caption that is automatically generated in the function plot package drc?

plot(curva5r, ylab= "Dose (%)", xlab = "Dose (g.e.a. de glyphosate ha-1)")

inserir a descrição da imagem aqui

Note that the caption is on top of the plotted data and I want to remove it. No use using another style of Plot (eg.ggplot2) as it does not support the package used to adjust the data.

Thanks friends.

1 answer

7


Place the argument legend=FALSE at the command of your chart:

plot(curva5r, ylab= "Dose (%)", xlab = "Dose (g.e.a. de glyphosate ha-1)",
  legend=FALSE)

Reproducible example with a data set of the package itself drc:

library(drc)

S.alba.m1 <- drm(DryMatter~Dose, Herbicide, data = S.alba, fct = LL.4())

plot(S.alba.m1)

inserir a descrição da imagem aqui

plot(S.alba.m1, legend=FALSE)

inserir a descrição da imagem aqui

  • Thank you very much Marcus, you could tell me how I can put r 2 on the chart (ex: color( fitted(curva5r), Dadosfito$controle) 2) and how I can erase lines that are not axes (ex: parallel to the axes).

  • 1

    It’s great to know that my response has helped you in some way. So consider vote and accept the answer, so that, in the future, other people who go through the same problem have a reference to solve it. If you have any extra questions, create a new question and take a look at this link to see how to create a reproducible question in R.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.