Plot 在Maple中合并并设置情节动画?

Plot 在Maple中合并并设置情节动画?,plot,merge,maple,Plot,Merge,Maple,我有一段maple代码,其中我绘制了两个单独的绘图,然后将这些绘图存储在变量plot1和plot2中 例如: plotAnimation = NULL: for f to 10 do plot1 := plot( [points1], view=[-12..12,-12..12], color=red, axes=none, scaling=constrained ); plot2 := plot( [points2], view=[-12..12,-12..12], color=gr

我有一段maple代码,其中我绘制了两个单独的绘图,然后将这些绘图存储在变量
plot1
plot2

例如:

plotAnimation = NULL:
for f to 10 do
  plot1 := plot( [points1], view=[-12..12,-12..12], color=red, axes=none, scaling=constrained );

  plot2 := plot( [points2], view=[-12..12,-12..12], color=green, axes=none, scaling=constrained );

  plotAnimation := plotAnimation, [plot1, plot2]
end do;
display(plotAnimation, insequence=true);

我想合并这两个情节,同时动画他们。由于某种原因,我做这件事时总是出错。我有一个程序,用于使用基本二维绘图功能将
plot1
plot2
变量指定为绘图(曲线()),在本例中为
plot
。但是我不断地出错,我不确定这是怎么回事。

您只需要稍微更正一下:每个绘图对都需要与显示相结合

plotAnimation = NULL:
for f to 10 do
  plot1 := plot( [points1], view=[-12..12,-12..12], color=red, axes=none, scaling=constrained );

  plot2 := plot( [points2], view=[-12..12,-12..12], color=green, axes=none, scaling=constrained );

  plotAnimation := plotAnimation, display([plot1, plot2])
end do;
display([plotAnimation], insequence=true);