프레젠테이션 저장> H 목록 상자 배치 : 각 슬라이드의 상단에 약간의 공간을 두는 방법 (테스트 스크립트 참조)?안녕하세요 JMP 커뮤니티,
분명히 해결할 수 없었던 간단한 문제가 있습니다. PowerPoint 프레젠테이션에서 다른 저널의 플롯을 단일 슬라이드로 수집하는 간단한 스크립트를 작성합니다. 지금까지 줄거리가 각 슬라이드의 상단에 붙어 있다는 점을 제외하고는 잘 작동합니다.->이 문제를 피하기 위해 H 목록 상자 또는 라인업 상자에 스페이서를 포함시키는 가장 좋은 방법은 무엇입니까?
Names Default to Here (1);
dummy = H List Box ();
dummy << Save Presentation ("$Desktop/TEMP PNG/Z1.pptx", Outline Titles (Top Left));
jrn1 = Get Window("FIRST_JOURNAL");
jrn2 = Get Window("SECOND_JOURNAL");
For (i = 1, i <=5, i++,
Plot1 = jrn1 [PictureBox(i)];
Plot2 = jrn2 [PictureBox(i)];
MylpBox = Lineup Box (N Col (2));
MylpBox << Append (Plot1);
MylpBox << Append (Plot2);
myhlb = H List Box ();
myhlb << Append (Spacer Box (0,1)); // this does not work
myhlb << Append (MylpBox << get picture);
myhlb << Save Presentation ("$Desktop/TEMP PNG/Z1.pptx", append, Outline Titles (Top Left));
); 도와 주셔서 감사합니다.
TS
다시 : 프레젠테이션 저장> H 목록 상자 배치 : 각 슬라이드의 상단에 약간의 공간을 두는 방법 (테스트 스크립트 참조)?다음은 찾고자하는 간격의 간단한 예입니다.
Names Default To Here( 1 );
Open( "$SAMPLE_DATA/big class.jmp" );
// Create the output you need
biv = bivariate( x( :height ), y( :weight ) );
plot1 = Report( biv );
// Create a display area with the spacer box in it
vlb = V List Box( nn = V List Box( Spacer Box( size( 1, 50 ) ) ) );
// add in the part of the display that you want to be lower
nn << append( plot1[Picture Box( 1 )] );
// Add the display area to the outline box that has the title
plot1[Outline Box( 1 )] << prepend( vlb << get picture );
// Delete the area of the display that you have turned
// into a picture object and placed it just below the outline box
plot1[Picture Box( 1 )] << delete;
plot1 << Save Presentation( "$TEMP/Z1.pptx", append, Outline Titles( Top Left ) );
Open( "$TEMP/Z1.pptx" );
