两张图到一张 PowerPoint 幻灯片有谁知道如何将两个图形(3-D 曲面图)发送到同一个 PowerPoint 幻灯片?我知道如何弄到一个,但我需要并排放置两个。我什至知道我希望它们在幻灯片上的大小和位置,但我终究无法弄清楚如何将它们同时放在那里。使用 Journal 删除必须包含的文本框和图例。
回复:两张图到一张 PowerPoint 幻灯片您好,感谢您上次的帮助。
我还在研究这个..
只是好奇我们是否可以制作一个更灵活的脚本,其中我为我的 HLBox 和 VLBox 指定了特定尺寸,但使用 for 循环为报告的每个对象附加 n 个项目。 n 也不是固定的,这就是为什么我们需要一个循环。
biv = 双变量(); //有n个对象
nbiv = N 项(biv);
myhlb = V 列表框();
myvlb = V 列表框();
对于(i=1,i<=nbiv,i++,
myhlb << append(报告(biv[i])); // 但一次只能添加 3 个对象
myvlb << append( myhlb << 获取图片 ); // 而这个,一次只附加 2 个对象
);
目标是每张幻灯片有 3x2 个对象
这可能吗?
回复:两张图到一张 PowerPoint 幻灯片哎呀....你是对的
回复:两张图到一张 PowerPoint 幻灯片哦谢谢!顺便说一下,它只是替换或附加。
myhlb2 << 保存演示文稿( "C:\mypicture.pptx", append );回复:两张图到一张 PowerPoint 幻灯片重复与之前相同的过程,使用要放在一起的 2 个新对象,但是当您转到保存演示文稿时,指定追加到现有的 pptx
myhlb2 << save presentation( "C:\mypicture.pptx", Replace( Append) );
请参阅脚本索引中的文档和示例
帮助==>脚本索引.........搜索“保存演示文稿”
回复:两张图到一张 PowerPoint 幻灯片你好,
我在将图表放入演示文稿时遇到了同样的问题。这很有帮助。现在,如果您有更多图表并需要将它们放在另一张幻灯片上怎么办?
回复:两张图到一张 PowerPoint 幻灯片好吧,看看那个!我点击了所有地方但那里。
现在我发现我没有得到传说。树结构也没有帮助我。嘘!我似乎无法用这个选项取胜。相比之下,单个曲面图是小菜一碟。
再次感谢,吉姆!
回复:两张图到一张 PowerPoint 幻灯片要显示显示树,只需右键单击任何轮廓框的灰色三角形并选择“编辑==>显示树结构”
回复:两张图到一张 PowerPoint 幻灯片再次感谢,吉姆!我发现它就像情节脚本中需要调整的大小(比例大于大小)一样简单,现在效果很好。
一旦我正在开发的完整工具原型准备就绪,我一定会采纳您的建议并阅读脚本指南,我相信现在这要感谢您。我试图显示曲面图的显示树,但我不知道该怎么做。它似乎与显示其他图表的方法不同。
回复:两张图到一张 PowerPoint 幻灯片您缺少的是 FrameBox(1) 并不总是需要更改的对象。 您需要阅读脚本指南中有关显示树的部分。 如果您使用的是曲面图,则对象的大小需要处理 SceneBox(1),它不是“大小”消息,而是“高度”和“宽度”测量值。
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\big class.jmp" );
sur=Surface Plot(
Columns( :age, :height, :weight ),
Datapoints Choice( "Points" ),
Surface Color Theme( "Green to Black to Red" ),
Surface Color Theme2( "Green to White to Red" ),
Surface Color Theme3( "White to Black" ),
Surface Color Theme4( "Blue to Gray to Red" ),
Response Column Color Theme( "Blue to Green to Red" ),
Response Column Color Theme2( "Spectral" ),
Response Column Color Theme3( "Jet" ),
Response Column Color Theme4( "White to Blue" ),
Response( :weight ),
Surface Color Method( "Solid", "Solid", "Solid", "Solid" ),
SetVariableAxis( :age, Axis Data( {} ) ),
SetVariableAxis( :height, Axis Data( {} ) ),
SetZAxis( weight, Current Value( 120 ) ),
SetXVariable( :age ),
SetYVariable( :height ),
Frame3D( Set Rotation( -54, 0, 38 ) )
);
report(sur)[scenebox(1)]<<HEIGHT></HEIGHT>回复:两张图到一张 PowerPoint 幻灯片再次感谢,吉姆!
理论上可行。对于一般情节,效果很好。我正在制作 3D 曲面图这一事实会使“帧大小”无效吗?我收到以下错误:
无法在访问或评估“下标”时下标显示框,报告( TippedSP )[/*###*/FrameBox( 1 )]
你今天帮了大忙,我怎么感谢你都不为过!
- 温蒂
回复:两张图到一张 PowerPoint 幻灯片试试这个尺寸
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\big class.jmp" );
// Create the desired graphs
biv1 = bivariate( invisible, x( :age ), y( :height ) );
biv2 = bivariate( invisible, x( :age ), y( :weight ) );
report(biv1)[FrameBox(1)] << frame size(600,600);
report(biv2)[FrameBox(1)] << frame size(600,600);
// Create a holding object to place them into
myhlb = H List Box();
// Copy the objects into the holding object
myhlb << append( Report( biv1 ) );
myhlb << append( Report( biv1 ) );
// Create a second holding object to copy the picture
// of the complete first holding object
myhlb2 = H List Box();
// Copy the picture
myhlb2 << append( myhlb << get picture );
// Save the second holding object to the ppt
myhlb2 << save presentation( "C:\mypicture.pptx" );
回复:两张图到一张 PowerPoint 幻灯片哦,太棒了!效果很好。现在,如果您知道如何将其调整到 ppt 中的幻灯片大小,我就完成了!:)
太感谢了!总有一天我会更好地了解 jsl 的细微差别。
回复:两张图到一张 PowerPoint 幻灯片这是我正在谈论的概念的说明。 我有意避免使用“新窗口”来说明如何将所有这些放在一起而不会到处弹出窗口。 如果你想要显示窗口,你可以将它们替换到代码中
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\big class.jmp" );
// Create the desired graphs
biv1 = bivariate( invisible, x( :age ), y( :height ) );
biv2 = bivariate( invisible, x( :age ), y( :weight ) );
// Create a holding object to place them into
myhlb = H List Box();
// Copy the objects into the holding object
myhlb << append( Report( biv1 ) );
myhlb << append( Report( biv1 ) );
// Create a second holding object to copy the picture
// of the complete first holding object
myhlb2 = H List Box();
// Copy the picture
myhlb2 << append( myhlb << get picture );
// Save the second holding object to the ppt
myhlb2 << save presentation( "C:\mypicture.pptx" );
回复:两张图到一张 PowerPoint 幻灯片再次感谢,吉姆!我现在有一个包含两个图表的新窗口,它看起来很完美。但是,我的问题仍然存在。此脚本会生成多个插入到 PowerPoint 中的图表,因此我需要编写每个页面的脚本*并将每个图表保存在 .png 文件中。当我尝试将此对象(两个曲面图)发送到 .ppt 时,没有任何反应。我试图将其发送到报告中,但每次都出现错误。
我是一个新手,仍在努力研究 jsl 结构。有了这个问题,我觉得自己失败得很惨。我不能给你完整的代码,但到目前为止是成功的。我试过使用和不使用 Repor() 行。我究竟做错了什么?
//Save Slot Width Production 3-D Surface Plots to picture
Report(TippedSP)[PictureBox(1)] << save picture((outputloc || char(dienum) || "_ProductionTippedSW.png"), png);
Report(TopViewSP)[PictureBox(1)] << save picture((outputloc || char(dienum) || "_ProductionTopSW.png"), png);
LeftSP = TippedSP << Get Picture;
RightSP = TopViewSP << Get Picture;
SlideSurfacePlot = new window(" Test ", h list box( LeftSP, RightSP ) ) << Get Picture;
Report(SlideSurfacePlot)[PictureBox(1)] << Save Picture((outputloc || char(dienum) || "_Production3DSurface.png"), png);
SlideSurfacePlot << Save Presentation(outputloc || "_" || char(dienum) || "_04-27-2017_" || DieType || "_" || CCondition ||"_Summary_Production.pptx", Insert(5), PNG); 回复:两张图到一张 PowerPoint 幻灯片如果将 2 个输出放入 H 列表框 (),则可以使用 << 获取图片将它们捕获到另一个对象中。 然后可以将新对象保存到ppt
回复:两张图到一张 PowerPoint 幻灯片抱歉...忽略了细节...使用 jsl。我正在开发一种工具,可以为生产决策生成多个图表,并且需要在同一张 .pptx 幻灯片上显示同一个 3D 曲面图的两个视图。
回复:两张图到一张 PowerPoint 幻灯片交互式或使用 JSL(脚本)回复:两张图表转为一张 PowerPoint 幻灯片替代方法(如果您需要在 poerpoint 中重新排列绘图)
使用图形生成器工具栏上的快捷方式,您可以将图形和报告“扔”到 Powerpoint
...并且 Powerpoint 会将图表/报告插入到当前演示文稿的当前幻灯片中。
新版本应该会在接下来的几天内发布:
图形生成器工具栏
