안녕,
변수 중 하나에 따라 마커 색상으로 박스 플롯을 플롯하고 싶습니다. 단일 플롯에서 잘 작동합니다. 그러나 그래프를 루프로 그릴 때. 색상이 나타나지 않습니다. 도움을 요청하고 싶습니다.
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 )
)}
)
)
);