楼主: realgod5417
5059 4

[原创博文] [求助]如何生成.eps的图片 [推广有奖]

  • 1关注
  • 1粉丝

VIP

已卖:201份资源

硕士生

58%

还不是VIP/贵宾

-

威望
0
论坛币
2641 个
通用积分
29.8590
学术水平
0 点
热心指数
3 点
信用等级
0 点
经验
4067 点
帖子
142
精华
0
在线时间
174 小时
注册时间
2007-1-31
最后登录
2024-12-13

楼主
realgod5417 发表于 2010-1-25 10:21:00 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
SAS9.2版如何生成.eps格式的图片?
在sas网站上看到个需要的图形,程序和图形如下,但我相要生成.eps格式的图片,不知道该如何更改?
proc format;   value $trt      'B' = "Treatment 20mg"      'S' = "Treatment 10mg"      'P' = "Placebo";   value visit      1='Baseline'      2='6 Months'      3='9 Months';run;data response;  input trt $ week perc lo hi end;  x1=15;  format trt $trt.;  cards;P  0  0    0     0    .P  3  2    1.25  2.75 . P  6  -.5 -1.2  .5    . P  9  1   -.5   1.75  .P 12  2.25 .5   3.25  2.25P 15  3    -.25 4.25  3.85S  0  0    0     0    .S  3  8    7.25  8.75 .   S  6  7.5  6.5   8.75 . S  9  7.5  6.5   8.75 . S 12  7.75 6.5   8.5  7.75 S 15  7.5  5.0   8.25 3.7B  0  0    0     0    .B  3  12   11.25 12.75 .B  6  13   12.25 13.75 .B  9  13.25 12.5 14.0  .  B 12  13    12.25 13.75 13 B 15  12.85 12.1  13.6  3.6;run;title "Mean Percent Change from Baseline";title2 " ";ods listing close;ods graphics / reset width=600px height=400px imagename='Allergy' imagefmt=gif;ods html file='allergy.html' path='.' style=allergy; proc sgplot data=response;  band y=x1 lower=12.1 upper=15 / transparency=.8 fillattrs=graphdata1;  scatter x=week y=perc / group=trt yerrorlower=lo yerrorupper=hi    markerattrs=(symbol=circlefilled) name="scat";  series x=week y=perc / group=trt lineattrs=(pattern=solid);  series x=week y=end / group=trt markers lineattrs=(pattern=shortdash)    markerattrs=(symbol=circle);  xaxis integer values=(0 to 15 by 3) label="Weeks in Treatment";  yaxis label="Percent Change";  refline 0;   refline 13.55 / axis=x label="|--Washout--|"    labelloc=outside labelpos=min lineattrs=(thickness=0px);  keylegend "scat" / title="" noborder;run;ods html close;ods listing;
二维码

扫码加我 拉你入群

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

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

关键词:EPS Transparency treatment Baseline response visit 图片 如何 程序 网站

回帖推荐

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

Change the c:\downloads\plots.ps into the your desired location. Hope this helps. filename outfile 'c:\downloads\plots.ps'; goptions device=PS gsfname=outfile gsfmode=replace; options ls=90; title1 color= blue "my testing plot"; proc gplot data=sashelp.class; plot Height * Weight ; run; quit;

本帖被以下文库推荐

沙发
realgod5417 发表于 2010-1-25 10:22:58
程序有点乱,但应当还是可以直接复制运行的,或查看相关连接
http://support.sas.com/kb/35/053.html
梅须逊雪三分白雪却输梅一段香

藤椅
爱萌 发表于 2010-1-25 12:45:31
图片保存的时候选择就是了
最恨对我说谎或欺骗我的人

板凳
realgod5417 发表于 2010-1-25 14:33:36
3楼的版主你的回答貌似很不科学,如果另存可以的话,我大可不必来这里问
梅须逊雪三分白雪却输梅一段香

报纸
bobguy 发表于 2010-1-26 08:28:42
realgod5417 发表于 2010-1-25 10:22
程序有点乱,但应当还是可以直接复制运行的,或查看相关连接
http://support.sas.com/kb/35/053.html
Change the c:\downloads\plots.ps into the your desired location.

Hope this helps.

filename outfile 'c:\downloads\plots.ps';

          goptions device=PS  gsfname=outfile gsfmode=replace;
          options ls=90;

   title1 color= blue  "my testing plot";

  proc gplot data=sashelp.class;
          plot Height  *  Weight ;
  run;
  quit;
已有 1 人评分经验 论坛币 收起 理由
bakoll + 3 + 3 精彩帖子

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

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

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