- #1
member 428835
Hello all!
I am trying to export image0, image1, image2, etc in a for loop. What I have is
I get an error when I try running this. Any idea of a better way? My logic:
line 1: for loop specs
line 2: string name of image
line3-4: definition of the image
line5-6: export image
I am trying to export image0, image1, image2, etc in a for loop. What I have is
Code:
For[i = 0, i < 4, i++,
"image" <> ToString[i] =
Rasterize[plfunc3dANGside2[6, 2, 115, 0.1*i], Background -> None,
ImageResolution -> 1000];
Export["/home/josh/ISS_drops/vibrations/" <> "image" <> ToString[i] <>
".jpg", "image" <> ToString[i]]
]
line 1: for loop specs
line 2: string name of image
line3-4: definition of the image
line5-6: export image