楼主: tyringggggg
381 1

[编程问题求助] #delimit命令相关 [推广有奖]

  • 0关注
  • 0粉丝

小学生

21%

还不是VIP/贵宾

-

威望
0
论坛币
0 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
80 点
帖子
3
精华
0
在线时间
1 小时
注册时间
2025-2-6
最后登录
2025-3-5

楼主
tyringggggg 发表于 2025-3-4 18:02:36 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
如下代码:#delimit;tsline pforcount pdomcount pdom_forcount
        , lwidth(medthick) name(all, replace) scheme(s2mono)
        graphregion(color(white) fcolor(white) icolor(white))
        title("All countries" " ")
        legend(label(1 Foreign) label(2 Domestic) label(3 Partnership) rows(1))
        tlabel(1867 "1867" 1900 "1900" 1925 "1925" 1950 "1950" 1975 "1975" 2005 "2005")
        xtitle("") ytitle("Share of countries with legislation")
        yscale(range(0(0.2)1)) ylabel(0 0.2 0.4 0.6 0.8 1.0, format(%9.1f) angle(0));
报错:, is not a valid command

若不使用#delimit命令,使用常规换行符///则可顺利运行,请教原因!谢谢各路大神!
二维码

扫码加我 拉你入群

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

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

关键词:delimit limit del Eli MIT Stata

沙发
黃河泉 在职认证  发表于 2025-3-11 22:06:23
试试底下的 code 可不可行:
  1. #delimit ;
  2. tsline pforcount pdomcount pdom_forcount,
  3.     lwidth(medthick)
  4.     name(all, replace)
  5.     scheme(s2mono)
  6.     graphregion(color(white) fcolor(white) icolor(white))
  7.     title("All countries" " ")
  8.     legend(label(1 Foreign) label(2 Domestic) label(3 Partnership) rows(1))
  9.     tlabel(1867 "1867" 1900 "1900" 1925 "1925" 1950 "1950" 1975 "1975" 2005 "2005")
  10.     xtitle("") ytitle("Share of countries with legislation")
  11.     yscale(range(0(0.2)1))
  12.     ylabel(0 0.2 0.4 0.6 0.8 1.0, format(%9.1f) angle(0))
  13. ;
  14. #delimit cr
复制代码

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-2-8 08:39