ifeelyou
群里面有位大哥windcloud给我解答了,我在这里贴一下他的原话:
“此处简单说来,由于没有定义color,所以系统默认的是按照黑红两种颜色来进行定义曲线.symbol2将被忽视.”
下面是《A Handbook of Statistical Analyses using SAS》里面的说明:
symbol1 v=none i=join l=1;
symbol2 v=none i=join l=2;
proc gplot;
plot y * x = sex;
run;
Both of the above examples assume that two symbol definitions are being generated — one by the symbol1 statement and the other by symbol2. However, this is not the case when SAS is generating colour graphics. The reason is that SAS will use the symbol definition on the symbol1 statement once for each colour currently defined before going on to use symbol2. If the final output is to be in black and white, then the simplest solution is to begin the program with:
goptions colors=(black);
If the output is to be in colour, then it is simplest to use the c= (color=) option on the symbol statements themselves. For example:
symbol1 v=none i=join c=blue;
symbol2 v=none i=join c=red;
proc gplot;
plot y * x = sex;
run;