S********a 发帖数: 359 | 1 hsize, vsize, horigin, vorigin 这些数取什么值,才能使四个图在同一页里呢?要
生成四个pie chart,存PDF在同一页里,谢谢
goptions reset=all device=pdfc ;
ods pdf file="c:\pie.pdf" startpage=never;
goptions hsize=5.20in vsize=3.75in;
proc gchart data=pie;
goptions horigin=0in vorigin=0in;
pie selected_monitor / noheading percent=inside;
where yea2=99;
title1 "year of birth : 1999";
run;
proc gchart data=pie;
goptions horigin=5.25;
pie selected_monitor / noheading percent=inside;
where yea2=0;
title2 "year of birth: 2000";
run;
proc gch... 阅读全帖 |
|
o******6 发帖数: 538 | 2 ☆─────────────────────────────────────☆
xiaoxiaokuan (小小矿) 于 (Tue Feb 24 11:44:58 2009) 提到:
我用了下面的命令,可是symbol2,symbo3完全没起作用,为什么阿?
goptions reset=all;
symbol1 i=none v=star;
symbol2 i=join v=circle;
symbol3 i=join v=none;
proc gplot data=p;
plot y*time yhat*time trendhat*time/ overlay;
where time>=2003;
run;
quit;
看到书上是这样的,试了也没作用
goptions reset=all;
symbol1 i=none v=star;
symbol2 i=join v=circle;
symbol3 i=join v=none;
proc gplot data=p;
plot y*time=1 yhat*time=2 trendhat*time=3/ overlay;
wh |
|
a********a 发帖数: 346 | 3 I attached my sas code and graph in the attached file. I have some question
to make the graph a little bit nicer. Do you know how to do it?
Question:
1 how to make the predication line and confidence interval line a little bit
thicker?
2. How to make the value in Y-axis and X-axis only keep 1 decimal place(i.e.
remove the extra 0) and make the value shows a little bit bigger?
3. How to make the horizontal line 1.0 a little bit thicker?
goptions reset=all;
axis2 minor=none label=(font=swissb h=2 |
|
a********s 发帖数: 188 | 4 There are few different methods to put multigraphs on one page. The idea is
to generate the graphs first and then use PROC GREPLAY. Below is a simple
sample code to do this. I ever used another more flexible way to generate
graphs, but could not find the code, and also forgot how to do so ...
data a;
do i=1 to 100;
x = rannor(10);
y= rannor(4)+1;
z = rannor(3)+2;
w = rannor(5) + 3;
output;
end;
run;
proc gchart data =a;
pie x/name="pie1";
run;
quit;
proc gchart data =a;
pie ... 阅读全帖 |
|
w*******e 发帖数: 666 | 5 在SAS的官网上找到个链接,有画forest plot的code。
想请教:
如果sohn 2002 snow 1999 和raine2003 下还分别有A B C 三个race,该怎么修改上面
的code呢?
我试了半天,连input data都一直报错。
或者哪位在哪里看到相似的例子,能否发我一份呢?
非常感谢!
得出的图如下:
http://support.sas.com/kb/35/773.html
code 如下:
/* Set the graphics environment */
goptions reset=all cback=white border htitle=12pt htext=10pt;
... 阅读全帖 |
|
d******9 发帖数: 404 | 6 It depends. Do you have write access to the SASUser ?
I run below codes, it failed with errors.
14 GOPTIONS ACCESSIBLE;
15 data sasuser.A;
16 A=908;
17 run;
ERROR: Write access to member SASUSER.A.DATA is denied.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds |
|