draw line1 {0 0 0} {0 5 0} color gray
I'm not sure why you would find that an annoyance -- For me the typing of
all those numbers would be the annoyance! Most of us put this sort of thing
in scripts so we don't have to fiddle with them. If you really have to type
it, I suggest writing your own little function:
function drawLine(id,a,b,c) {
if (!c)c = "gray"
draw ID @{"line" + id} @a @b color @c
}
then just use
drawline (1, {0 0 0}, {0 5 0})
drawline (2, {0 5 0}, {0 1 0})
On Wed, Oct 14, 2009 at 6:10 AM, Graeme Kidd <[email protected]> wrote:
>
> Thanks for the suggestion but I tried that as well to no effect.
>
> For example this still draws an orange line:
> color DRAW GRAY
> draw line1 {0 0 0} {0 5 0}
>
> While this will draw a gray line:
> draw line1 {0 0 0} {0 5 0}
> color DRAW GRAY
>
> But I still need to apply that line after every draw command. Would this be
> classed as a bug do you think or am I missing something from the
> documentation?
>
> Thanks
>
>
> > From: [email protected]
> > To: [email protected]
> > Date: Wed, 14 Oct 2009 08:38:21 +0200
> > Subject: Re: [Jmol-users] Change the default colour
>
> >
> > Graeme,
> > not sure of this, but have you tried
> > color draw cyan
> > before doing any draw operation?
> > I'd expect that to set the default (at least it works for other non-draw
> objects)
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> > is the only developer event you need to attend this year. Jumpstart your
> > developing skills, take BlackBerry mobile applications to market and stay
>
> > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> > http://p.sf.net/sfu/devconference
> > _______________________________________________
> > Jmol-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/jmol-users
>
> ------------------------------
> Stay in touch with your friends through Messenger on your mobile. Learn
> more. <http://clk.atdmt.com/UKM/go/174426567/direct/01/>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
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
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users