save.fig | R Documentation |
This function can be used to save a tiff file after running R code that producs figure.
save.fig(fn, width = 6, height = 5, pointsize = 12, res=300)
fn |
a file name.
width |
width of figure.
height |
height of figure.
pointsize |
the size of point/text.
res |
resolution of the tiff file.
# 例子
plot(rnorm(100))
save.fig("同时保存tiff、eps、pdf格式的图",width=6,height=7,pointsize=12)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.