全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1330 4
2013-06-17
分类变量x1为二分类,proc sgplot; histogram x1;得到的图见附件。
问题出现在横左边的刻度只需要两个“是”与“否”(数据是1-2,formatted),原因应该是横纵坐标的刻度数相同。
再用proc sgpanel 的时候也是这个问题,所以应该是画图的系统选项上。
翻看了ods graphics statement 试过了选型,无用。。。。
SGPlot9.png
二维码

扫码加我 拉你入群

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

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

全部回复
2013-6-18 02:03:40
Maybe you should use the VBAR statement instead.
二维码

扫码加我 拉你入群

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

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

2013-6-18 08:37:30
邓贵大 发表于 2013-6-18 02:03
Maybe you should use the VBAR statement instead.
thanks
this solution will fix when x1 is catagorical.
二维码

扫码加我 拉你入群

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

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

2013-6-18 09:29:42
moyunzheng 发表于 2013-6-18 08:37
thanks
this solution will fix when x1 is catagorical.
Agree with above. Using histogram here may be just a misunderstanding. Jingju
二维码

扫码加我 拉你入群

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

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

2013-6-19 10:23:08
???您是想画并排显示条形图吗??
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群