I saved this from Bob Hanson last year as a nice way to draw and move curves and arrows. It worked for me back then.
All the best
Nick
--
WWW Pages:     http://www.liv.ac.uk/Chemistrywww/Staff/greeves.html
Tel:             +44 (0)151-794-3506 (3500 secretary)


On 16 Aug 2006, at 14:39, [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> wrote:


Dynamic draw object definition

------------------------------


Want a curve or a curved arrow, but you don't know how to define it

exactly? Easy enough to get the arrow in the first place:



  draw arrow1 ARROW {1 1 1} {2 2 2} (atomno=3)



Still, that may not be quite right. Just use


  set picking DRAW


All of the key points are highlighted. Move them around until they are

the way you want them by

holding down the SHIFT key while you drag them with the mouse. When you

are ready, use


  show DRAW


to show the command that would be used to create this particular draw

object.

Clip it out and you have your arrow!




On 30 May 2007, at 10:43, [EMAIL PROTECTED] wrote:

Message: 4
Date: Tue, 29 May 2007 16:44:35 -0400
From: "Guillaume Dumont" <[EMAIL PROTECTED]>
Subject: [Jmol-users] Drawing arrows
To: [EMAIL PROTECTED]
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

I want to do something very simple, but I just can't figure out how to do
it. I just want to draw an arrow that starts on, say, atom 1 and stops
halfway in the direction of, say, atom 10. The thing is that I have to do this several times so would like not to have to go in the xyz file and use
XYZ coordinates.

Anyone can help?

Thanks

--
Guillaume Dumont
=========================
[EMAIL PROTECTED]
[EMAIL PROTECTED]
(514) 341 5298
(514) 343 6111 ext. 13279
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 5
Date: Tue, 29 May 2007 16:13:27 -0500
From: Bob Hanson <[EMAIL PROTECTED]>
Subject: Re: [Jmol-users] Drawing arrows
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

provided this is a straight arrow....

1) Make sure you are using Jmol 11.1.43
2) Script:

startpoint = {atomno=1}.xyz
endpoint = {atomno=1 or atomno=2}.xyz
draw a1 arrow @startpoint @endpoint


I'm just using "atomno=1" and "atomno=2" as examples of how you would
define the two atoms. Note that "or" in this context means "average"


Bob



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to