やあ、
変数の 1 つに従って、マーカーの色で箱ひげ図をプロットしたいと考えています。 単一のプロットで正常に機能しています。 ただし、グラフをループでプロットする場合。色が表示されません。 助けを求めたいです。
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 )
)}
)
)
);