回复:PowerPoint这是我如何处理此问题的示例。 我只是将对象移动到单个图片对象中,然后保存图片对象。
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>

微软幻灯片软件嗨,我有这段代码显示了一个带有多个图的窗口。问题是,如何将Powerpoint中的输出保存为一张幻灯片?
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" );
)
)
)
);
回复:PowerPoint您好,感谢您的答复!有没有一种方法可以让它们像幻灯片一样输出并放置幻灯片标题?
回复:PowerPointSave 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" );