Question: naming output files (e.g., using plotsetup)

hello,

my apologies if this has already been asked, in which case a pointer to the thread would be much appreciated. i've had a frustrating time searching through maple help and the internet.

i am interested in outputing a series of plots in a loop.  i would like to name the files according to the value of a variable which is changing in the loop.

for example, if  J increases from 1 to N during the loop, at each iteration i would like to name the output plot file

plotJ.ps

where the J represents the numerical value of J, which would be an integer.

given that i know how to do this in matlab and fortran, i assume there is a simple way to do this in maple as well.  i was thinking it would have to do with constructing a string with the variable name and using this in plotsetup

thanks!

 

Please Wait...