楼主: peijianshi
1952 1

R中图形格式问题 [推广有奖]

  • 0关注
  • 16粉丝

已卖:352份资源

副教授

80%

还不是VIP/贵宾

-

威望
0
论坛币
638 个
通用积分
2.3662
学术水平
12 点
热心指数
12 点
信用等级
5 点
经验
15373 点
帖子
636
精华
0
在线时间
568 小时
注册时间
2010-3-11
最后登录
2022-9-8

楼主
peijianshi 发表于 2010-8-19 16:11:32 |AI写论文
10论坛币
现在遇到使用R图,需要变成.tiff格式,并且要求:
1) Figures that fit exactly the width of 1 column (72 mm) or 2 columns (148 mm) expedite the publication process.
2)1200 DPI/PPI for monochrome (black and white line art).
This resolution applies to images that are purely black and white. Images such as line graphs or diagrams fall in this category. If your image editing program allows it, LZW file compression can be used on a monochrome image to greatly reduce its file size.


现在假设c是自变量一组值,而pvalue是因变量亦是一组值,画它们的平面图:
tiff(file="Fig.3.tif")
plot(c,pvalue,type="l",xlab=("C"),ylab=c("P-Value"))
abline(h=0.05)
abline(v=shang,lty=2)
dev.off()

怎么实现上边的两点要求呢?即1200 DPI/PPI;72mm宽呢?

关键词:Publication compression resolution Solution Diagrams 格式 图形

回帖推荐

jiagangw 发表于2楼  查看完整内容

请试用下列程序: c

本帖被以下文库推荐

R万岁!

沙发
jiagangw 发表于 2010-8-21 16:58:08
请试用下列程序:

c <- 1:100
pvalue <- abs(sin(c/30))
setwd("D:/temp")

tiff(filename="Fig3.tif", width=72, height=72, units='mm', res=1200,
     compression='lzw')
plot(c, pvalue, type='l', xlab=("C"), ylab=("P-Value"))
abline(h=0.5)
abline(v=50, lty=2)
dev.off()

Fig3.zip (68.81 KB) 本附件包括:
  • Fig3.tif
已有 1 人评分学术水平 热心指数 收起 理由
peijianshi + 1 + 1 我的问题被他解决了。

总评分: 学术水平 + 1  热心指数 + 1   查看全部评分

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-5 16:34