You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#gravar a imagem em PDF - correr primeiro istocaminho= paste("pathblabla/",ponto,".pdf", sep="")
cairo_pdf(filename=caminho, onefile=T, width=11, height=5, fallback_resolution=300))
#depois plotar
ggplot(dataframe)
#correr isto sempre para "fechar" o pdf
dev.off()
The text was updated successfully, but these errors were encountered:
O
cairo_pdf
já vem com o R. O cairo driver torna as linhas vectoriais mais arredondadas, e mais bonitas que gravar como png.https://www.rdocumentation.org/packages/grDevices/versions/3.6.2/topics/cairo
https://www.jumpingrivers.com/blog/r-graphics-cairo-png-pdf-saving/
Dá também para exportar como svg ou ps
The text was updated successfully, but these errors were encountered: