незавершенный процесс бокса в SAS - PullRequest
0 голосов
/ 18 октября 2018

У меня есть такой код.

title 'Dispersion de Poids par chaque Produit et filiere';
proc sort data=tClassSASM; by filiere Produit PoidsN; run;
proc boxplot data=tClassSASM; 
    plot PoidsN*Produit/ nohlabel Vref=5,57,177 boxstyle=schematicid;
    label PoidsN='Poids Despersion (g)';
run;

Это вывод.Но что бы я ни делал, я не могу найти, как удалить заголовок, помеченный красным, перегруппировать переменные, помеченные красным, и присвоить цвета vref строкам.Вы можете помочь ?output

1 Ответ

0 голосов
/ 18 октября 2018

Предполагается, что filiere принимает значения X и Y

Отключите ODS GRAPHICS, чтобы использовать опцию cvref = plot.

ods graphics off;

title 'Dispersion de Poids par chaque Produit et filiere';

proc sort data=tClassSASM; 
  by filiere Produit PoidsN; 
run;

proc boxplot data=tClassSASM; 

    * plot PoidsN*Produit/ nohlabel Vref=5,57,177 boxstyle=schematicid;

      plot PoidsN*filiere/ nohlabel Vref=5,57,177 cvref=RED boxstyle=schematicid;

    label PoidsN='Poids Despersion (g)';
run;

Если вы хотитеразные цвета для каждого VREF, вам, вероятно, придется также использовать данные аннотации (anno = опция).

...