简体   繁体   中英

plot in r - remove and rename titles and labels

I have created the following plot

bootresults<-boot.relimp(model3_a_out, b=1000) 
ci<-booteval.relimp(bootresults, norank=T)
plot(ci)

在此处输入图片说明

How can i remove the plots title and subtitle ? also how to remove the annotation of the bottom ?

i tried main = NULL but it does not work.

also how can i rename the variables ?

for reporoducible example:

> usedata('gpa')
> 
> gpa.model<-lm(c.gpa~h.gpa+SAT+recommd, data=gpa)
> bootresults<-boot.relimp(gpa.model, b=1000) 
> ci<-booteval.relimp(bootresults, norank=T)
> plot(ci)

Main title and sub title can remove plot(x = x, y = y, main = NULL, sub = NULL) . But i think your plot is made mtext function. mtext example(using plot margin) So they recommend make another plot. mtext answer

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM