Question: Maple export graphics with loop

Hi Everyone!

I want to export several Figures with Maple at the same time. I tried

with(plots):

for i from 1 to 5 do
interface(plotdevice=ps, plotoutput=`c:/test||i.eps`, plotoptions=`color,portrait,

noborder,width=16cm,height=12cm`);
 plot(cos(i*x), x = -5..5);
 interface(plotdevice=inline);

od:

but it did not work. How can I create one file per Figure?

Thanks a lot,

Bernardo

 

Please Wait...