楼主: Imasasor
5960 3

[作图问题求助] forest图修改坐标范围 [推广有奖]

  • 1关注
  • 64粉丝

VIP

已卖:215份资源

学科带头人

33%

还不是VIP/贵宾

-

TA的文库  其他...

超哥喜欢的文章

威望
1
论坛币
47033 个
通用积分
3.1376
学术水平
238 点
热心指数
246 点
信用等级
231 点
经验
37102 点
帖子
849
精华
3
在线时间
2235 小时
注册时间
2012-7-4
最后登录
2024-10-10

初级学术勋章 初级热心勋章 初级信用勋章 中级热心勋章 中级学术勋章

楼主
Imasasor 发表于 2013-9-16 11:29:15 |AI写论文
300论坛币
forest.png
我作了一个森林图,代码如下:
metan oddsratio lowercl uppercl, randomi label(namevar=study) by(subgroup) nosubgroup nohet nowt nooverall null (1) xlabel (0.5, 2.5) texts(140)
结果如上,
但因为我的X坐标小于1的几乎没有数值,但forest plot左右是对称的,我想将左边一大边空白去掉,使得左边的subgroup更靠近X=1这条线,怎么限定X轴的范围,使得左右不对称?
数据见附件 subgroup depression.rar (1013 Bytes) 本附件包括:
  • subgroup depression.dta

最佳答案

hplcdadong 查看完整内容

* "randomi" in your original command does not influence your results in the graph, the following should make your graph beautiful. You can also make your own adjustment based on this. metan oddsratio lowercl uppercl, label(namevar=study) /// by(subgroup) nosubgroup nohet nowt nooverall null (1) xlabel (0.8, 2.8) texts(160) /// effect(Odds Ratio) force
关键词:Forest Rest For Est RES forest null 森林 左右
欢迎加入亚太地区第一R&Python数据挖掘群: 251548215;

沙发
hplcdadong 发表于 2013-9-16 11:29:16
* "randomi" in your original command does not influence your results in the graph, the following should make your graph beautiful. You can also make your own adjustment based on this.

metan oddsratio lowercl uppercl, label(namevar=study)  ///
by(subgroup) nosubgroup nohet nowt nooverall null (1) xlabel (0.8, 2.8) texts(160)   ///
effect(Odds Ratio)  force

藤椅
dxystata 发表于 2013-9-16 12:45:56
这个图有问题!

板凳
Imasasor 发表于 2013-9-16 12:53:28
dxystata 发表于 2013-9-16 12:45
这个图有问题!
请问什么问题
欢迎加入亚太地区第一R&Python数据挖掘群: 251548215;

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-9 03:41