楼主: 317692153
4146 6

[作图问题求助] 柱状图上的文字编辑 [推广有奖]

  • 3关注
  • 0粉丝

已卖:1份资源

学术权威

34%

还不是VIP/贵宾

-

威望
0
论坛币
35 个
通用积分
71.2670
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
217364 点
帖子
2841
精华
0
在线时间
1906 小时
注册时间
2010-11-30
最后登录
2026-1-5

楼主
317692153 发表于 2014-7-7 21:38:22 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
clear                                   input input low   high  mean                 1     1.6   2.2  1.9                 2     1.5   2.3  1.9         5     2.9   0.01 1.9                 3     1.0   2.9  1.9         4     0.5   3.2  1.9          end                                                                                                                                   label var input "Input"          label var low   "Low value"          label var high  "High value"          label var mean  "Mean"                                                                                           label define inputlbl             ///          1 "Annual Donations in U.S."      ///  2 "Seroprevalence"                ///  3 "Exposures per Donation"            ///  4 "Probability of Transmission"   ///          5 "Sensitivity of Test"                                                              label val input inputlbl                                                                   gen sens = high-low          sort sens                                                                                   local ml1 = (2.2+1.9)/2          local mh1 = (1.6+1.9)/2          local ml2 = (2.3+1.9)/2          local mh2 = (1.5+1.9)/2          local ml3 = (2.9+1.9)/2          local mh3 = (1.0+1.9)/2          local ml4 = (3.2+1.9)/2          local mh4 = (0.5+1.9)/2          local ml5 = (2.9+1.9)/2          local mh5 = (0  +1.9)/2                                          local format fcolor(white) lcolor(white)                                                                                   twoway                                                                   ///  (rbar low mean input, horizontal)                                        ///  (rbar mean high input, horizontal),                                      ///  ylabel(, val angle(horizontal)) xsize(7.1) ysize(5.2) scheme(sj)         ///  xtitle(" " "Predicted Cases of Transfusion-Transmitted T.   Cruzi")      ///  title("Sensitivity of Results to Inputs") subtitle("Test Once Scenario") ///  legend(label(1 "Low Input Values") label(2 "High Input Values") rows(2)) ///  text(5 `ml5' "93.5%", box j(center)  margin(l+1 r+1 t+1 b+1)   `format') ///  text(5 `mh5' "99.99%", box j(center) margin(l+1 r+1 t+1 b+1)   `format') ///  text(4 `ml4' "5%", box j(center)     margin(l+1 r+1 t+1 b+1)   `format') ///  text(4 `mh4' "0.8%", box j(center)   margin(l+1 r+1 t+1 b+1)   `format') ///  text(3 `ml3' "3", box j(center)      margin(l+1 r+1 t+1 b+1)   `format') ///  text(3 `mh3' "1", box j(center)      margin(l+1 r+1 t+1 b+1)   `format') ///  text(2 1.4 "1:28,600", box           margin(l+1 r+1 t+1 b+1)   `format'  ///  placement(9) j(right))                                                   ///  text(2 2.4 "1:18,200", box           margin(l+1 r+1 t+1 b+1)   `format'  ///  placement(3) j(left))                                                    ///  text(1 1.5 "13.4 million", box       margin(l+1 r+1 t+1 b+1)   `format'  ///  placement(9) j(right))                                                   ///  text(1 2.4 "19 million", box         margin(l+1 r+1 t+1 b+1)   `format'  ///  placement(3) j(left))                                                        请问local那部分的命令怎么解释?图片中99.99% 和93.5%...是怎么实现的?这些数字能换成汉字吗?求赐教
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:柱状图 Transmission Sensitivity Probability horizontal 柱状图

tornado_dia.png (7.44 KB)

tornado_dia.png

沙发
317692153 发表于 2014-7-7 21:41:05
上面的命令贴出来乱了,就用txt格式传了一个附件,请赐教

藤椅
SpencerMeng 在职认证  发表于 2014-7-10 15:52:10
317692153 发表于 2014-7-7 21:41
上面的命令贴出来乱了,就用txt格式传了一个附件,请赐教
你想把柱状图上的文字编辑成什么效果?

在stata出图后 右击编辑就ok
已有 1 人评分经验 论坛币 学术水平 热心指数 信用等级 收起 理由
crystal8832 + 10 + 10 + 1 + 1 + 1 热心帮助其他会员

总评分: 经验 + 10  论坛币 + 10  学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

板凳
317692153 发表于 2014-7-11 14:49:28
SpencerMeng 发表于 2014-7-10 15:52
你想把柱状图上的文字编辑成什么效果?

在stata出图后 右击编辑就ok
出图后  出了可以保存图片,其他的都是灰色 无法点击

报纸
SpencerMeng 在职认证  发表于 2014-7-11 15:21:51
317692153 发表于 2014-7-11 14:49
出图后  出了可以保存图片,其他的都是灰色 无法点击
不会的

出图后 右击的所有选项都可以点击

save as
copy
start graph editor
preference
print

这五个选项都可以的

我并不能截图这几个选项
但是我可以给你两个对比图片

就是出图后的未编辑状态和编辑状态

出图后的编辑状态.png (12.66 KB)

出图后的编辑状态.png

出图.png (6.65 KB)

出图.png

已有 1 人评分经验 论坛币 学术水平 热心指数 信用等级 收起 理由
crystal8832 + 10 + 10 + 1 + 1 + 1 热心帮助其他会员

总评分: 经验 + 10  论坛币 + 10  学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

有问题来发帖,来发帖没问题!
我尊重版规,一切为了学术!
Stata专版版规:https://bbs.pinggu.org/thread-1651470-1-1.html

地板
317692153 发表于 2014-7-11 16:18:23
SpencerMeng 发表于 2014-7-11 15:21
不会的

出图后 右击的所有选项都可以点击
太感谢!!~~[handshake]

7
SpencerMeng 在职认证  发表于 2014-7-11 16:25:36
317692153 发表于 2014-7-11 16:18
太感谢!!~~
呵呵  

不客气哦

嘿嘿

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-5 11:17