가치 주문
X 그룹핑의 순서를 바꾸고 싶었는데, GUI에서는 값 순서를 이용해도 가능했지만 JSL에서는 방법을 모르겠습니다. JSL에서 모든 X 그룹 매개변수에 접근하고 순서를 조작하는 올바른 방법은 무엇인가요?
각 상자는 무엇을 의미하나요? 예: axis_boxes, scale_boxes, Frame_boxes 등
자동화 및 스크립팅제목: 가치 순서아래 코드를 시도해 봤는데 작동하지 않았습니다.
Try(
axis_box = gb_report[AxisBox(1)];
axis_box << Set Property("Value Order", {"Continuity_VDD", "Continuity_GND"});
,
// If that doesn't work, use XPath
axis_boxes = gb_report << XPath("//AxisBox");
If(N Items(axis_boxes) > 0,
axis_boxes[1] << Set Property("Value Order", {"Continuity_VDD", "Continuity_GND"});
);
);
제목: 가치 순서값 순서는 열 속성이므로 축이 아닌 열에 해당 메시지를 보내야 합니다.
제목: 가치 순서저도 그 방법을 시도해 봤지만 그래프에 아무런 변화가 없었습니다.
Column(dt,"TestNameReference")<< Set Property("Value Order", {"Continuity_VDD", "Continuity_GND"});
dt<
<SAVE></SAVE>
제목: 가치 순서작업을 수동으로 수행하고 로그에서 생성된 코드를 복사합니다. 필요에 따라 수정하십시오.
dt:TestNameReference << Set Property(
"Value Order",
{Custom Order( {"Continuity_VDD", "Continuity_GND"} )}
);
제목: 가치 순서데이터 테이블에서 값 순서를 수동으로 변경한 후 JSL 스크립트를 사용하여 그래프를 그리면, 변경된 값 순서가 그래프에 적용되지 않는다는 것을 발견했습니다.
그래프가 생성된 후에만 그래프 빌더 GUI에서 직접 값 순서를 수정할 수 있었던 시절
제목: 가치 순서저는 해당 문제를 재현할 수 없습니다. `:TestNameReference`에 값 순서를 설정했는데, 그래프를 생성할 때 자동으로 올바르게 정렬됩니다. 그래프 생성에 사용하시는 스크립트를 공유해 주시겠습니까? 사용 중인 JMP 버전은 무엇입니까?

제목: 가치 순서다음은 그래프가 그려진 후 값 순서를 설정하는 작동 예시입니다.

names default to here(1);
dt =
// Open Data Table: Big Class.jmp
// → Data Table( "Big Class" )
Open( "$SAMPLE_DATA/Big Class.jmp" );
Graph Builder(
Variables( X( :age ), Y( :height ), Group X( :sex ), Color( :age ) ),
Elements( Box Plot( X, Y, Legend( 5 ) ) )
);
dt:sex << set property("value order", {Custom Order( {"M", "F"} )});
제목: 가치 순서제가 시도해 본 명령어는 정확히 동일했지만 최종 그래프에는 아무런 변화가 없었습니다. 제 코드는 다음과 같습니다.
Simple_Plot = Function({dt, file_name},
plot_filename = Munger(file_name, Length(file_name) - 3,4, "_plot.png") ;
plot_path = ::plots_output_path || plot_filename;
plot_title = Munger(file_name, Length(file_name)-3,4,"");
gb_obj = dt << Graph Builder(
Title(plot_title),
Show Window(1),
Size(::SizeX, ::SizeY),
Show Control Panel(0),
Variables(
Y( :Data ),
Group X( :TestNameReference ),
Group X( :TestTemperature ),
Overlay(:WaferNumber)
),
Elements(
Box Plot( Y, Legend( 1 ) ), // Legend is optional but helpful
Caption Box(Y, Legend( 2 ), Summary Statistic( "Mean" ), Location( "Top" ) ),
Caption Box(Y, Legend( 3 ), Summary Statistic( "Std Dev" ), Location( "Bottom" ) )
)
);
gb_report = gb_obj << Report;
gb_report << Prepend(Outline Box(plot_title), Spacer Box(Size(::TitleSize1, ::TitleSize2)));
gb_obj << Bring Window To Front;
dt << Select All Rows;
//Throw();
gb_obj << Save Picture( plot_path, "png" );
Print(" Plot saved: " || plot_filename);
Close(gb_obj, no save);
);
If (Contains (file_name, "Continuity_Test" ),
Print("Generating plot for: " || file_name);
//Column(dt,"TestNameReference") << Set Property("Value Ordering", "Custom");
Column(dt,"TestNameReference")<< Set Property("Value Order", {Custome Order({"Continuity_VDD", "Continuity_GND"})});
dt<
<SAVE></SAVE>
제목: 가치 순서단순히 오타 때문일까요? {Custome Order(.... 이어야 합니다.
If (Contains (file_name, "Continuity_Test" ),
Print("Generating plot for: " || file_name);
//Column(dt,"TestNameReference") << Set Property("Value Ordering", "Custom");
Column(dt,"TestNameReference")<< Set Property("Value Order", {Custome Order({"Continuity_VDD", "Continuity_GND"})});
dt<
<SAVE></SAVE>
제목: 가치 순서dt:sex << set property("value order ~에 ", {"M", "F"} );
이 작업은 맞춤 주문을 명시적으로 기재하는 대신 사용할 수 있는 대안입니다.
JMP 문서에는 "ing"를 생략하라고 되어 있는데도 불구하고, dt:sex << set property("value order", {"M", "F"} ); 와 같이 입력했을 때 오류가 발생하는 이유를 잘 모르겠습니다.