| Author |
Comment/Response |
Sumit
|
11/24/12 00:14am
Hi, I want to create a list of files to store different sets of data.
For example consider this list of plots
Table[Plot[i + x^2, {x, -1, 1}, AxesOrigin -> {0, 0}], {i, 0, 3}]
I want to export each plot to a separate .jpg file with a single command. Is there any command which allow mathematica to create files in sequential order. For example, if I use
Table[Export["a00*.jpg", Plot[i + x^2, {x, -1, 1}, AxesOrigin -> {0, 0}]], {i, 0, 3}]
it gives four files like
{"a00*.jpg", "a00*.jpg", "a00*.jpg", "a00*.jpg"}
What I want is to create four files like
{"a001.jpg", "a002.jpg", "a003.jpg", "a004.jpg"}
Thanks and regards,
-Sumit
URL: , |
|