MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: change filename automatically in Export Command

  • To: mathgroup at smc.vnet.net
  • Subject: [mg73842] Re: change filename automatically in Export Command
  • From: Peter Breitfeld <phbrf at t-online.de>
  • Date: Fri, 2 Mar 2007 06:21:18 -0500 (EST)
  • References: <es6df0$s3h$1@smc.vnet.net>

serdal kirmizialtin schrieb:
>
> Hi All,
> Does anybody know how to change the name of the file with a Do loop in the =
> Export comand
> For example
> I want to name my files as a1.png a2.png a3.png ....a1000.png
> each time I use the following command
> Export["filename",aa1,"PNG"]
>
> i need to change filename by hand is there a way of doing it automatically=

Do you want

Do[
  Export["a"<>ToString[i]<>".png", aa1, "PNG"],
  {i,1,1000}
]


Gruss Peter
-- 
==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==
Peter Breitfeld, Bad Saulgau, Germany -- http://www.pBreitfeld.de


  • Prev by Date: Re: Limit of Floor function
  • Next by Date: Re: Limit of Floor function
  • Previous by thread: Re: change filename automatically in Export Command
  • Next by thread: Re: change filename automatically in Export Command