Skip to content
Prev 6306 / 7420 Next

change axis scale plot R

Hi Luis,

You can avoid the pixelation by exporting your plot as vector graphics
(e.g. functions pdf() or svg()) instead of pixel formats (i.e. png(),
tiff() etc). There is also ggsave("MyPlot.pdf") but I don't know about
ggplot very well.

pdf("MyPlot.pdf")
p=  plot_model(m5, type = "pred", terms = c("Pt[n=100]", "Pa"),
digits=1,line.size=0.5,show.data=T,colors=c("green","#00a0c9","red"))
dev.off()

On Thu, Jun 3, 2021 at 10:10 AM Luis Fernando Garc?a <luysgarcia at gmail.com>
wrote: