Question: Export multiple jpg Files

I am using Maple 10 and i want to export as "jpg" files multiple columngraphs. These columngraphs are generated from:

>for k  from 1 to 100 by  5 do

ColumnGraph(points[k],color=blue,axes=BOXED,thickness=2,print(t=k),view=[0..26,0..0.1]);


od:

 

Then i use the command :

>for k  from 1 to 100 by  5 do

plotsetup(jpeg,plotoutput=`k.jpg`);

od;

 

but exports only one file called "k.jpg" .

How can i export all of the colmngraphs without change every time the name of the file? Can i put a variable inside the name of the file?

 

Thanx a lot

Giorgos

 

Please Wait...