楼主: frederic7
1960 5

怎么用sas画这种类型的图 [推广有奖]

  • 13关注
  • 3粉丝

已卖:820份资源

副教授

6%

还不是VIP/贵宾

-

威望
0
论坛币
2058 个
通用积分
24.6509
学术水平
8 点
热心指数
18 点
信用等级
4 点
经验
9392 点
帖子
614
精华
0
在线时间
456 小时
注册时间
2009-9-26
最后登录
2025-7-2

楼主
frederic7 发表于 2010-1-1 01:24:43 |AI写论文
3论坛币
比如说有这么一组数据;

data new;
input x y c;
cards;
11 23 1
12 24 1
12 25 1
24 57 2
25 67 2
31 57 2
1  3   3
2  4   3
2  5   3
;
run;
现在希望画y关于x的散点图。
但是要求c变量不同的代表不同的类别,怎么用不同的点的符号和颜色来表示?

希望能给个小程序。

谢谢。

最佳答案

bobguy 查看完整内容

Simply do as in the following example; proc gplot data=new; plot y*x=c; run; quit;
关键词:cards Input card Data 散点图 SAS 类型

回帖推荐

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

Simply do as in the following example; proc gplot data=new; plot y*x=c; run; quit;

本帖被以下文库推荐

沙发
bobguy 发表于 2010-1-1 01:24:44
Simply do as in the following example;

proc gplot data=new;
    plot y*x=c;
run;
quit;

已有 1 人评分经验 论坛币 收起 理由
bakoll + 3 + 3 精彩帖子

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

藤椅
tmdxyz 发表于 2010-1-1 05:06:51
谢谢2楼。我也学了1招

板凳
爱萌 发表于 2010-1-1 10:32:13
呵呵,没什么挑战性
最恨对我说谎或欺骗我的人

报纸
wfchen 发表于 2010-1-1 17:18:16
it is right,
so good

地板
frederic7 发表于 2010-1-1 23:02:16
4# 爱萌

呵呵,以后有问题就找你问了。。

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

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