that's true! So don't use atom expressions -- use coordinates instead:
draw f2 arrow @{{C2,C3}.xyz} {10.3 38.8 -0.28} @{{C5}.xyz} color yellow
So here we are precalculating the coordinates instead of just using the
atoms and then just sending a list of coordinates to the draw command.
{C2,C3}.xyz is the average coordinate of C2 and C3; @{...} is the way to
insert that value into any Jmol command.
You might ask, "So why doesn't Jmol do it that way in the first place??!"
The answer is that if you have multiple models, then "C2,C3" may refer
to atoms in different models, and the draw command will draw multiple
lines (I guess not multiple arrows, though), one for each model, rather
than taking the average value of the the coordinates across all models.
Angel Herraez wrote:
>Hi all
>
>If I try to draw a curved arrow using a mixture of atom expressions
>and xyz coordinates, as in
>
>draw f2 arrow (C2,C3) {10.3 38.8 -0.28} (C5) color yellow
>
>the order given is not followed; the arrow goes from {10.3 38.8 -
>0.28} to (C2,C3), then to (C5).
>If all 3 are either atom expressions or coordinates, it works.
>
>(11.4.RC5 and 11.5.24)
>
>
>-------------------------------------------------------------------------
>Check out the new SourceForge.net Marketplace.
>It's the best place to buy or sell services for
>just about anything Open Source.
>http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>_______________________________________________
>Jmol-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
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
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users