in the math itself you just use variables names. $xx would be an identifier
for a drawn object or isosurface and would not be appropriate in that
context.

for (var j=1; j<20; j=j+1)
   var scale=5*j;
   zoom scale;
   write image 800 600 @{"movie" + ("0000"+j)[-3][0] + ".jpg"};
end for


On Thu, Dec 3, 2009 at 7:59 PM, Paulo <[email protected]> wrote:

> Hi,
>   I've been trying to make this work but the program doesn't seem to do
> anything when I run it.  What I'm trying to do is write a series of images
> that zoom into a structure.  Suggestions?
> -------------------------------
> for (var j=1; j<20; j=j+1)
>    scale=5*$j;
>    zoom $scale;
>    write image 800 600 @{"movie" + ("0000"+j)[-3][0] + ".jpg"};
> end for
> -----------------------------
>
> In advance, thanks!
>
> Paul
>
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>


-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to