Hallo,
Ich möchte den Boxplot mit Markierungsfarbe gemäß einer der Variablen zeichnen. Im Einzelplot funktioniert es einwandfrei. Allerdings beim Zeichnen des Diagramms in einer Schleife. die Farbe wird nicht angezeigt. Möchte um Hilfe bitten.
dt = Open("C:\test24_data\JSL\data.csv", Invisible);
dt_parameter = Open("C:\test24_data\JSL\parameter.csv", Invisible);
spec_dt = Open("C:\test24_data\JSL\spec_df.csv", Invisible);
nw = New Window( "graphs", myVLB = V List Box() );
//get_column into list
_dt0 = dt_parameter << Summary(
Group( :Parameters),
Freq( "None" ),
Weight( "None" )
, Invisible);
dt_param_lst = column("Parameters") << GetAsMatrix();
Print(dt_param_lst);
_dt1 = dt << Summary(
Group( :SpecName ),
Freq( "None" ),
Weight( "None" )
, Invisible);
spec_lst = column("SpecName") << GetAsMatrix();
Print(spec_lst);
_dt2 = spec_dt << Summary(
Group( :parametername ),
Freq( "None" ),
Weight( "None" )
, Invisible);
spec_param_lst = column("parametername") << GetAsMatrix();
Print(spec_param_lst);
for (i = 1, i <= NItems(dt_param_lst), i++,
//par = cols_to_plot[i];
graph = dt << Variability Chart(
Y( Column(dt_param_lst[i]) ),
X( :Purpose, :Reel ),
Color( :Pass_Bin ),
Std Dev Chart( 0 ),
Points Jittered( 1 ),
Show Box Plots( 1 ),
SendToReport(
Dispatch(
{"Variability Chart for " || dt_param_lst[i]},
"Variability Chart",
FrameBox,
{Row Legend(
Pass_Bin,
Color( 1 ),
Color Theme( "JMP Default" ),
Marker( 0 ),
Marker Theme( "" ),
Continuous Scale( 0 ),
Reverse Scale( 0 ),
Excluded Rows( 0 )
)}
)
)
);
Haben Sie versucht, zu verwenden
dt_param_lst
in der By-Rolle?