save.fig: Save a tiff, eps and pdf files concurrently after running R...

save.figR Documentation

Save a tiff, eps and pdf files concurrently after running R code that producs a figure

Description

This function can be used to save a tiff file after running R code that producs figure.

Usage

save.fig(fn, width = 6, height = 5, pointsize = 12, res=300)

Arguments

fn

a file name.

width

width of figure.

height

height of figure.

pointsize

the size of point/text.

res

resolution of the tiff file.

Examples

# 例子
plot(rnorm(100))
save.fig("同时保存tiff、eps、pdf格式的图",width=6,height=7,pointsize=12)
	

liuguofang/figsci documentation built on Nov. 24, 2023, 1:45 p.m.