| T O P I C R E V I E W |
| mdavid |
Posted - 12/17/2004 : 05:22:24 AM Origin Version (Select Help-->About Origin):5 Operating System:windows 2000
I generated a serie of 2D maps (from graph1 to graph100) and I would like to save them automatically into BMP files. The next loop doesn't work: for (ii=3;ii<103;ii++) { save -bs graph$(ii) graph$(ii).bmp 400 400; }; Does anybody know how to do ? David. |
| 1 L A T E S T R E P L I E S (Newest First) |
| greg |
Posted - 12/17/2004 : 10:15:17 AM Your script should be working. Of course, who knows where these files will end up because you haven't said where to put them so Windows will decide on it's own. Is that why you say it's not working - because you can't find them?
Try adding path information .. for (ii=3;ii<103;ii++) { save -bs graph$(ii) "F:\My Documents\My Pictures\graph$(ii).bmp" 400 400; };
Of course this script is limited to bitmaps. For other formats, you should use the image.export object methods.
|