パワーポイントこんにちは、複数のプロットを含むウィンドウを表示するこのコードがあります。 質問は、パワーポイントの出力を 1 つのスライドとして保存するにはどうすればよいですか?
New Window( "Para v PGT",
Lineup Box( N Col( 3 ),
For( i = 1, i <= N Items( colname ), i++,
For( j = 1, j <= N Items( colnamex ), j++,
biv = Bivariate( Y( Column( dt, colname[i] ) ), X( Column( dt, colnamex[j] ) ), group by( groupcol ) );
rbiv = biv << report;
rbiv[FrameBox( 1 )] << {Frame Size( 240, 190 ), Marker Size( 1 ), Line Width Scale( 3 )};
rbiv[axis box( 2 )] << Tick Font( style( 1 ), size( 9 ) ) << Show Major Grid( 1 ) << Show Minor Grid( 1 ) << Show Minor Ticks( 1 );
rbiv[axis box( 1 )] << Tick Font( style( 1 ), size( 9 ) ) << Show Major Grid( 1 ) << Show Minor Grid( 1 ) << Show Minor Ticks( 1 );
rbiv[Text Edit Box( 2 )] << Set Font Size( 10 ) << Set Font Style( "Bold" );
rbiv[Text Edit Box( 1 )] << Set Font Size( 10 ) << Set Font Style( "Bold" );
)
)
)
);
Re: パワーポイントSave Presentation() 関数は、Outline Box() からの言葉をグラフのタイトルとして取得します。したがって、私が提供した前の例の最後の数行を次のように変更すると、必要なタイトルが得られます
titleOB = outline box("Here is the Title");
titleOB << append(ob<< get picture);
titleOB << save presentation( "$TEMP/jmp_example.pptx" );
Open( "$TEMP/jmp_example.pptx" );Re: パワーポイントこんにちは、返信ありがとうございます! スライドごとのプロットのように出力して、スライドのタイトルを付ける方法はありますか?
Re: パワーポイントこれが私がこれをどのように処理するかの例です。オブジェクトを 1 つの画像オブジェクトに移動し、その画像オブジェクトを保存するだけです。
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/blood pressure.jmp" );
colname = {"BP 8M", "BP 12M", "BP 6M"};
colnamex = {"BP 8W", "BP 12W", "BP 6W"};
groupcol = Column( "Dose" );
ob = Outline Box( "",
Lineup Box( N Col( 3 ),
For( i = 1, i <= N Items( colname ), i++,
For( j = 1, j <= N Items( colnamex ), j++,
biv = Bivariate(
Y( Column( dt, colname[i] ) ),
X( Column( dt, colnamex[j] ) ),
group by( groupcol )
);
rbiv = biv << report;
rbiv[FrameBox( 1 )] << {Frame Size( 240, 190 ), Marker Size( 1 ), Line Width Scale( 3 )};
rbiv[axis box( 2 )] << Tick Font( style( 1 ), size( 9 ) ) << Show Major Grid( 1 ) <<
Show Minor Grid( 1 ) << Show Minor Ticks( 1 );
rbiv[axis box( 1 )] << Tick Font( style( 1 ), size( 9 ) ) << Show Major Grid( 1 ) <<
Show Minor Grid( 1 ) << Show Minor Ticks( 1 );
rbiv[Text Edit Box( 2 )] << Set Font Size( 10 ) << Set Font Style( "Bold" );
rbiv[Text Edit Box( 1 )] << Set Font Size( 10 ) << Set Font Style( "Bold" );
)
)
)
);
nwj = New Window( "Para v PGT", <<JOURNAL></JOURNAL>
