楼主: swarp
3985 3

sas作图问题求助,sas高手请进 [推广有奖]

  • 0关注
  • 0粉丝

高中生

20%

还不是VIP/贵宾

-

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

楼主
swarp 发表于 2007-9-6 14:47:00 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币

最近遇到sas作图的问题:通常我用sas作图时,用gplot作折线图,用gchart作柱状图,现在因工作需要,要在一张图里面同时画上折线和柱子,不知道应该怎么做,请sas高手指点,谢谢!

二维码

扫码加我 拉你入群

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

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

关键词:SAS作图问题 sas作图 作图问题 Chart gplot 高手 SAS

回帖推荐

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

可以用 Proc Gbarline, 但这个过程还不完善,不能画图例legend. SAS9.2中将可以实现。

bakoll 发表于4楼  查看完整内容

Creating Bar Charts and Scatter Plots on the Same Page, you can Use PROC GPLOT or PROC GBARLINE in SAS 资料http://www2.sas.com/proceedings/sugi31/175-31.pdf 程序 proc gplot data=urine; plot urine1*asdt/ noframe nolegend haxis=axis1 vaxis=axis2; plot2 labval*asdt / noframe nolegend haxis=axis1 vaxis=axis3; run; quit; proc gbarline data=urine__; format asdt datetime16.; bar ...

本帖被以下文库推荐

沙发
hao62 发表于 2007-9-6 19:14:00
可以用 Proc Gbarline, 但这个过程还不完善,不能画图例legend. SAS9.2中将可以实现。
已有 1 人评分经验 论坛币 收起 理由
bakoll + 3 + 10 精彩帖子

总评分: 经验 + 3  论坛币 + 10   查看全部评分

藤椅
swarp 发表于 2007-9-7 09:38:00

太好了,非常感谢

板凳
bakoll 发表于 2015-6-22 10:50:58
Creating Bar Charts and Scatter Plots on the Same Page, you can Use PROC GPLOT or PROC GBARLINE in SAS
资料http://www2.sas.com/proceedings/sugi31/175-31.pdf

程序
proc gplot data=urine;
plot urine1*asdt/ noframe nolegend haxis=axis1 vaxis=axis2;
plot2 labval*asdt / noframe nolegend haxis=axis1 vaxis=axis3;
run;
quit;

proc gbarline data=urine__;
   format asdt datetime16.;
bar asdt/ sumvar=urine__ width=1.5 discrete noframe space=1 axis=axis2  
maxis=axis1;
   plot /sumvar=labval axis=axis3;
run;
quit;

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

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