请选择 进入手机版 | 继续访问电脑版
楼主: casperyc
2304 6

label 转 90° [推广有奖]

  • 0关注
  • 0粉丝

硕士生

61%

还不是VIP/贵宾

-

威望
0
论坛币
26 个
通用积分
0
学术水平
0 点
热心指数
1 点
信用等级
0 点
经验
1448 点
帖子
219
精华
0
在线时间
56 小时
注册时间
2009-7-29
最后登录
2019-6-9

casperyc 发表于 2010-3-21 01:48:36 |显示全部楼层 |坛友微信交流群
相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
  1. PROC GPLOT data=fert_resids;
  2. plot stand*preds;
  3. label stand='Standardised Residual';
  4. label preds='Fitted Value';
  5. title1 'Residuals Against Fitted Values.';
  6. run;
  7. quit;
复制代码


请问怎样能使 label stand='Standardised Residual'
变成 垂直方向的?

谢谢
二维码

扫码加我 拉你入群

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

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

关键词:label Abel Lab standardised Residuals label

test.jpg
bobguy 发表于 2010-3-21 06:33:59 |显示全部楼层 |坛友微信交流群
casperyc 发表于 2010-3-21 01:48
  1. PROC GPLOT data=fert_resids;
  2. plot stand*preds;
  3. label stand='Standardised Residual';
  4. label preds='Fitted Value';
  5. title1 'Residuals Against Fitted Values.';
  6. run;
  7. quit;
复制代码
请问怎样能使 label stand='Standardised Residual'
变成 垂直方向的?

谢谢
You could use axis statement to define the corresponding axis. It provides much more user controls on it. See attached example.


data t1;
   do x = 1 to 10;
       y=x;
       output;
    end;
    run;

axis1 label=(a=90  'This is y')  ;

PROC GPLOT data=t1;
plot y*x / VAXIS=axis1;
label x='this is x';
run;
quit;

使用道具

casperyc 发表于 2010-3-21 09:20:26 |显示全部楼层 |坛友微信交流群
嗯 不错 成功了


不过。。。 一定要写在 PROC GPLOT  外面的么?
SAS就是 user - friendly 啊


还是R好

使用道具

bobguy 发表于 2010-3-21 09:23:30 |显示全部楼层 |坛友微信交流群
casperyc 发表于 2010-3-21 09:20
嗯 不错 成功了


不过。。。 一定要写在 PROC GPLOT  外面的么?
SAS就是 user - friendly 啊


还是R好
"不过。。。 一定要写在 PROC GPLOT  外面的么?"
Axis statement is a global statement .

I like to write the global statement outside of procs --- it makes more sense and is clear for me.

使用道具

天开 发表于 2010-3-21 11:17:12 |显示全部楼层 |坛友微信交流群
Good point.

使用道具

casperyc 发表于 2010-3-22 00:51:50 |显示全部楼层 |坛友微信交流群
bobguy 发表于 2010-3-21 09:23
casperyc 发表于 2010-3-21 09:20
嗯 不错 成功了


不过。。。 一定要写在 PROC GPLOT  外面的么?
SAS就是 user - friendly 啊


还是R好
"不过。。。 一定要写在 PROC GPLOT  外面的么?"
Axis statement is a global statement .

I like to write the global statement outside of procs --- it makes more sense and is clear for me.
好吧 个人喜好不同

过了 coursework 我还是用R去

谢谢

使用道具

醉_清风 发表于 2010-3-22 11:24:14 |显示全部楼层 |坛友微信交流群
不错 学习了 谢谢
从来不需要想起 永远也不会忘记

使用道具

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

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-18 11:24