楼主: moyunzheng
1304 4

[问答] 画图的问题 [推广有奖]

  • 1关注
  • 2粉丝

博士生

60%

还不是VIP/贵宾

-

威望
0
论坛币
1357 个
通用积分
4.3535
学术水平
18 点
热心指数
19 点
信用等级
17 点
经验
11986 点
帖子
240
精华
0
在线时间
361 小时
注册时间
2010-12-11
最后登录
2025-12-2

楼主
moyunzheng 发表于 2013-6-17 16:28:45 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
分类变量x1为二分类,proc sgplot; histogram x1;得到的图见附件。
问题出现在横左边的刻度只需要两个“是”与“否”(数据是1-2,formatted),原因应该是横纵坐标的刻度数相同。
再用proc sgpanel 的时候也是这个问题,所以应该是画图的系统选项上。
翻看了ods graphics statement 试过了选型,无用。。。。
SGPlot9.png
二维码

扫码加我 拉你入群

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

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

关键词:formatted statement histogram Statemen Graphics

沙发
邓贵大 发表于 2013-6-18 02:03:40
Maybe you should use the VBAR statement instead.
Be still, my soul: the hour is hastening on
When we shall be forever with the Lord.
When disappointment, grief and fear are gone,
Sorrow forgot, love's purest joys restored.

藤椅
moyunzheng 发表于 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.

板凳
jingju11 发表于 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
???您是想画并排显示条形图吗??

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

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