이변량 피팅에서 스무딩 스플라인 컨트롤을 제거하는 방법평활화 스플라인 컨트롤을 어떻게 삭제합니까? 여러 스플라인이 포함된 보고서가 있는데 이 컨트롤 목록은 차트를 효과적으로 축소하여 전체 페이지를 차지합니다. 비슷한 질문을 보았는데 스크립트에 다른 부분이 있어서 솔루션이 작동하지 않습니다.
어떻게 제거하나요?
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
g=vlistbox(Big Class<<
Fit Group(
Bivariate(
Y(:height),
X(:weight),
Fit Line({Line Color({76, 114, 176})}),
Fit Spline(0.1, {Line Color({221, 132, 82})})
),
),
);
//This is the solution given to the question, but its not work for me, I guess because the vlistbox and fit grop
(Report(biv) << XPath("//BorderBox"))[2] << Visibility("Collapse");
//this might collapse too much, so make sure it doesn't
(Report(biv) << XPath("//IfBox")) << Visibility("Collapse");
자동화 및 스크립팅데이터 탐색 및 시각화Re: 이변량 피팅에서 스무딩 스플라인 컨트롤을 제거하는 방법다음은 제공된 코드의 단순화된 버전입니다. 단순히 데이터 테이블을 열고 이변량 코드를 실행한 다음 스플라인 컨트롤을 제거합니다.

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
biv =Bivariate(
Y( :height ),
X( :weight ),
Fit Spline( 100000, {Line Color( {212, 73, 88} )} ),
Fit Spline( 10000, {Line Color( {61, 174, 70} )} )
);
(Report(biv) << XPath("//IfBox")) << Visibility("Collapse");Re: 이변량 피팅에서 스무딩 스플라인 컨트롤을 제거하는 방법표시할 내용이 더 많기 때문에 코드를 동일한 방식으로 유지해야 합니다.
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
g=vlistbox(dt<<
Fit Group(
Bivariate(
Y(:height),
X(:weight),
Fit Line({Line Color({76, 114, 176})}),
Fit Spline(0.1, {Line Color({221, 132, 82})})
),
Bivariate(
Y(:thickness),
X(:date),
Fit Line({Line Color({76, 114, 176})}),
Fit Spline(0.1, {Line Color({221, 132, 82})})
),
),
);
//This is the solution given to the question, but its not work for me, I guess because the vlistbox and fit grop
(Report(g) << XPath("//BorderBox"))[2] << Visibility("Collapse");
//this might collapse too much, so make sure it doesn't
(Report(g) << XPath("//IfBox")) << Visibility("Collapse");
//open files
out=Tab Box(
"HELP",H List Box(V List Box(g)),
);
/* Create Tabed Journal for Display */
all=New Window("p_all",<<JOURNAL></JOURNAL>
Re: 이변량 피팅에서 스무딩 스플라인 컨트롤을 제거하는 방법수정된 코드는 다음과 같습니다. Big Class 데이터 테이블에 없는 열을 참조했기 때문에 두 번째 이변량을 변경해야 했습니다. 나는 그것이 실제 데이터 테이블에서 나온 것이라고 가정합니다. 또한 2개의 이변량을 가리키는 변수도 추가했습니다. VListBox를 가리키는 g 변수 사용에 대한 참조에는 연결된 보고서가 없습니다.

dt = Open("$SAMPLE_DATA/Big Class.jmp");
g=vlistbox(dt<<
Fit Group(
biv =Bivariate(
Y(:height),
X(:weight),
Fit Line({Line Color({76, 114, 176})}),
Fit Spline(0.1, {Line Color({221, 132, 82})})
),
biv2 = Bivariate(
Y(:weight),
X(:height),
Fit Line({Line Color({76, 114, 176})}),
Fit Spline(0.1, {Line Color({221, 132, 82})})
),
),
);
//This is the solution given to the question, but its not work for me, I guess because the vlistbox and fit grop
(Report(biv) << XPath("//IfBox"))[2] << Visibility("Collapse");
(Report(biv2) << XPath("//IfBox"))[2] << Visibility("Collapse");
//this might collapse too much, so make sure it doesn't
//(Report(g) << XPath("//IfBox")) << Visibility("Collapse");
//open files
out=Tab Box(
"HELP",H List Box(V List Box(g)),
);
/* Create Tabed Journal for Display */
all=New Window("p_all",<<JOURNAL></JOURNAL>
<P> </P>Re: 이변량 피팅에서 스무딩 스플라인 컨트롤을 제거하는 방법나는 Jim이 이미 제안한 것처럼 XPath를 사용하여 이 작업을 수행할 것입니다. << Get XML을 보고서로 보내고 XML을 확인한 다음 쿼리 작성에 사용할 수 있는 항목을 찾을 수 있습니다.


빠르게 확인하면 항상 작동하는 것이 없는 것처럼 보이므로(helpKey는 항상 동일하지 않으며 분석에 따라 달라지는 것 같습니다) 데이터에 따라 쿼리를 수정해야 할 수도 있습니다.
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
nw = New Window("",
vlb = V List Box(
dt << Fit Group(
Bivariate(
Y(:height),
X(:weight),
Fit Line({Line Color({76, 114, 176})}),
Fit Spline(0.1, {Line Color({221, 132, 82})})
),
Bivariate(
Y(:weight),
X(:height),
Fit Line({Line Color({76, 114, 176})}),
Fit Spline(0.1, {Line Color({221, 132, 82})})
)
)
)
);
obs = vlb << XPath("//IfBox/OutlineBox"); // might collapse too much, but you could limit it to the specific reports
obs << Visibility("Collapse");
다른 옵션은 먼저 ListBox에서 개요 상자 이름을 가져오는 것입니다(이 경우에는 XPath를 사용합니다).


그런 다음 해당 제목을 반복하고 해당 개요 상자를 숨길 수 있습니다(이는 다양한 방법으로 구축할 수 있음).
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
nw = New Window("",
vlb = V List Box(
dt << Fit Group(
Bivariate(
Y(:height),
X(:weight),
Fit Line({Line Color({76, 114, 176})}),
Fit Spline(0.1, {Line Color({221, 132, 82})})
),
Bivariate(
Y(:weight),
X(:height),
Fit Line({Line Color({76, 114, 176})}),
Fit Spline(0.1, {Line Color({221, 132, 82})})
)
)
)
);
reports = vlb << XPath("//OutlineBox[@helpKey = 'Bivariate Report']");
For Each({rep}, reports,
tebs = rep << XPath("//ListBox/ListBox[PopupBox and CustomBox]/TextEditBox");
ob_titles = tebs << get text;
For Each({ob_title}, ob_titles,
rep[OutlineBox(ob_title)] << Visibility("Collapse");
);
);
Re: 이변량 피팅에서 스무딩 스플라인 컨트롤을 제거하는 방법https://dergipark.org.tr/tr/pub/@binance-referans-kodu-nedir 솔루션이요?
Re: 이변수 적합에서 평활화 스플라인 컨트롤을 제거하는 방법도움을 주신 모든 분들께 감사드립니다. 모든 답변과 함께 이 코드를 사용했는데, 제게는 효과가 있었습니다 .
obs = vlb<< XPath("//IfBox/OutlineBox"); // 너무 많이 축소될 수 있지만 특정 보고서로 제한할 수 있습니다.
obs << Visibility("축소");
obs = vlb << XPath("//BorderBox/ListBox"); // 너무 많이 축소될 수 있지만 특정 보고서로 제한할 수 있습니다.
obs << Visibility("축소");