사용자 환경 설정과 상관없이 정확한 축 상자 찾기그래서 다른 사용자 환경 설정으로 인해 다른 축 상자가 발생하는 문제가 발생합니다. 나는 xpath를 사용하여 시도했지만 심지어 그 값이 xpath로 바뀌고있다.
Names default to here(1);
dt = open("$SAMPLE_DATA\Big Class.jmp");
dist = platform(dt, Distribution(
Stack( 1 ),
Continuous Distribution(
Column( :height ),
Horizontal Layout( 1 ),
Vertical( 0 ),
Count Axis( 1 ),
normal quantile plot(1)
)
));
dist1 = platform(dt,
Distribution(
Stack( 1 ),
Continuous Distribution(
Column( :height ),
Horizontal Layout( 1 ),
Vertical( 0 ),
normal quantile plot(1)
)
);
);
new window("Test",
dist,
dist1
);
axis = dist[axisbox(2)]; // this is right
axis << Add Ref Line(55);
axis = dist1[axisbox(2)]; // this adds it to the y axis, I need 4
axis << Add Ref Line(55);다시 : 사용자 환경 설정에 관계없이 올바른 축 상자 찾기이것은 귀하의 질문에 대한 답변이 아니지만, 참조 라인 어쩌면 당신은 열 속성을 사용할 수 있습니까?
Names default to here(1);
dt = open("$SAMPLE_DATA\Big Class.jmp");
:height << Set Property( "Axis", {Add Ref Line( 55, "Solid", "Black", "", 1 )} );
dist = platform(dt, Distribution(
Stack( 1 ),
Continuous Distribution(
Column( :height ),
Horizontal Layout( 1 ),
Vertical( 0 ),
Count Axis( 1 ),
normal quantile plot(1)
)
));
dist1 = platform(dt,
Distribution(
Stack( 1 ),
Continuous Distribution(
Column( :height ),
Horizontal Layout( 1 ),
Vertical( 0 ),
normal quantile plot(1)
)
);
);
new window("Test", dist, dist1);
:height << deleteProperty("Axis");다시 : 사용자 환경 설정에 관계없이 올바른 축 상자 찾기나는 그것이 주위에 목록 상자가 없기 때문에이 특정 축 박스에만 국한된 것으로 가정한다. 적어도 그것이 어떻게 생겼는지입니다.
다시 : 사용자 환경 설정에 관계없이 올바른 축 상자 찾기안녕, 빈스.
AxisBox와 바로 위에있는 DisplayBox를 사용하여 XPath를 사용해 보셨습니까? 예를 들어, 다음은 dist 또는 dist1을 사용하는 경우 X 축의 참조 선을 55에 추가합니다.
axis = dist1 << XPath( "//BorderBox/AxisBox" );
axis << Add Ref Line( 55 );
다시 : 사용자 환경 설정에 관계없이 올바른 축 상자 찾기별로 옵션이 아닙니다. 고객이 보는 것을 바꾼다면 고객이 좋아하지 않을 것입니다.
다시 : 사용자 환경 설정에 관계없이 올바른 축 상자 찾기무시 플랫폼 기본 설정 (1)은 기본 출력으로 플랫폼을 실행합니다. 이를 사용하여 기대하는 보고서 구조를 정확하게 얻을 수 있습니다.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Distribution(
Ignore Platform Preferences( 1 ),
Y( :height, :weight ),
Histograms Only
);