我正在使用列切换器来更改图表,但我希望它遍历每个“切换器”,并将每个“切换器”打印到 PowerPoint 幻灯片上。JMP18 可以实现吗?
Names Default to Here( 1 );
dt = Open( "$SAMPLE_DATA/Hollywood Movies.jmp" );
gb = dt << Graph Builder(
Size( 686, 572 ),
Variables( X( :Genre ), Y( :Opening Wknd Gross ) ),
Show Control Panel( 0 ),
Elements(
Bar(
X,
Y,
Legend( 7 ),
Bar Style( "Side by side" ),
Summary Statistic( "Mean" )
)
)
);
cs = gb << Column Switcher(
Opening Wknd Gross,
{Rotten Tomatoes Score, Audience Score, Domestic Gross, Foreign Gross,
World Gross, Production Budget, Profitability, Opening Wknd Gross},
Close Outline( 1 )
);
pptx_loc = "$DOCUMENTS/powerpoint_test.pptx";
gb << Save Presentation( pptx_loc );
For Each( {v, i}, Remove( cs << Get List, 1 ), cs << Next; gb << Save Presentation( pptx_loc, Append ) )
非常感谢,这个程序运行得很完美,我是这个程序的新手,但是这个程序很容易遵循。
有没有办法使用标准化的 PowerPoint 格式来创建此报告?还可以从左下角删除“Graph Builder”字样吗?