Hi Sridhar,

I sent a reply two days ago. Fid you not get it?


------- Forwarded message follows -------
From:   Angel Herráez
To:     <[email protected]>
Subject:        Re: [Jmol-users] Drawing multiple polygons
Date sent:      Mon, 02 Jun 2014 21:31:24 +0200


Hello, Sridhar

I have no experience using the polygon method, but it seems to me that for 2
polygons you need 2 draw commands, i.e. you cannot concatenate them.
Then you also need to give them some ID

Pleae try this:

draw ID pol1 polygon 3 {0.025211116 1.1217782 0.8126853} {0.6437236
1.224757 0.07120496}
 {0.8960494 0.5741031 0.88711965} 1 [0 1 2 6]

draw ID pol2 polygon 4 {0.6437236 1.224757 0.07120496} {1.1145567
 0.5465992 -0.6152016} {1.3668823 -0.10405464 0.20071311 } {0.8960494
0.5741031
 0.88711965} 2 [0 1 2 6] [0 3 2 6]

Or maybe you want a 7-vertex polygon

Will that help?

------- End of forwarded message -------


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to