Feature Requests item #1445005, was opened at 2006-03-07 20:15
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379136&aid=1445005&group_id=23629
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Jaime Prilusky (lsprilus)
Assigned to: Nobody/Anonymous (nobody)
Summary: draw a line or vector
Initial Comment:
There's a need for drawing lines, with or without arrow head, together
with a structure. A small (?) modification to the current axes draw
method could be used to allow Jmol to draw lines or vectors.
At the script level, the mechanism to declare the start, and points and
other line attributes can be implemented, for example as follows:
To apply the 'set' Rasmol command to a 'line' object:
set line color <colour>
set line weight <value>
set line type [ arrow | plain ]
set line x1 y1 z1 x2 y2 z2
The last one sets the line position in the space and draws it.
The arrow point, if line type arrow selected, is to be drawn at the
x2,y2,z2 point.
Or, to adapt the current gnuplot syntaxt:
(to draw an arrow) set arrow from x1,y1,z1 to x2,y2,z2
(to draw a plain line) set arrow from x1,y1,z1 to x2,y2,z2 nohead
set arrow {<tag>} {from <position>} {to <position>} {{no}head}
{ {linestyle | ls <line_style>}
| {linetype | lt <line_type>}
{linewidth | lw <line_width} }
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379136&aid=1445005&group_id=23629
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers