开发者

removing text added to a plot with mtext

开发者 https://www.devze.com 2023-03-29 09:47 出处:网络
Having added text to an R plot with mte开发者_运维技巧xt e.g. mtext(\"my added text\",side=1) How can I remove it?Make another plot. (They are dirt cheap after all). mtext like most base graphic f

Having added text to an R plot with mte开发者_运维技巧xt

e.g.

mtext("my added text",side=1)

How can I remove it?


Make another plot. (They are dirt cheap after all). mtext like most base graphic functions operates via a one-way side-effect model of plotting. There is no underlying storage facility that can be modified after the fact. ( I in the past have tried writing over with identical col="white" letters but it looks terrible.) Failing that, if one is on an OS that has a default "Save as.." that creates a pdf file, then one can use a pdf-editing program.

0

精彩评论

暂无评论...
验证码 换一张
取 消