On Wed, Nov 25, 2015 at 5:32 AM, Angel Herráez <angel.herr...@uah.es> wrote:

> Hi Jmolers
>
> I'd like to use a loop to define a series of points (using atom
> expressions)
> and then use that series to draw a polyline.
>
>
draw line [{1 1 1} {3 2 3} {4 4 4}]

So in this case one might think that the following would work:

a=[]
for (var i=2;i<=18;i++) a.push(select(x; {*.ca}; x.resno=i or
x.resno=120-i))
draw line @a

But it does not. That is a bug.
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to