1

SAS で次のコードを使用すると、私の rtf ファイルには、希望どおりのものがすべて表示されます。しかし、'Results - Sas Report' では、すべてのマーカーが円になっています (色はすべて異なります)。rtf ファイルとまったく同じに見えるようにするには、どうすればこれを変更できますか?

    %modstyle(parent= statistical, name= mystyle, type= CLM,
    colors= red green blue purple,
    markers= star plus circle square);

    ods rtf file=".../scatterplot.rtf" style=mystyle;
    proc sgplot data=datafile;
       scatter y=y x=x /group=groups;
    run;
    ods rtf close;
4

1 に答える 1

1

問題は、スタイル コマンドを現在の HTML 宛先に追加していないことです (9.3+ を使用していると仮定すると、Results の出力先です)。

これは簡単にオーバーライドできます。追加した 1 行 (ods html行) に注意してください。ファイルの場所は指定しません。この方法では、宛先を変更せずに現在のオプションを上書きするだけです。

%modstyle(parent= statistical, name= mystyle, type= CLM,
colors= red green blue purple,
markers= star plus circle square);

ods rtf file="c:\temp\scatterplot.rtf" style=mystyle;
ods html style=mystyle;
proc sgplot data=sashelp.class;
   scatter x=height y=weight /group=age;
run;
ods rtf close;
于 2015-08-20T20:24:33.083 に答える