Hi Bob,

it seems that it is not possible to provide a color scheme inside a 
variable to the 'color' command in Jmol 14.4.x or 14.5.x. Providing 
individual colors inside a variable does work.

---- Examples ---------
load =1deh;
select all;
x = "red"; color @x;
x = "[0,0,255]"; color @x;
x = "cpk"; color @x;
x = "chain"; color @x;
-----------------------

Q: Is this a bug or a feature?

I could use 'dummy = script("color " + x)' as a workaround. But it 
wouldn't be nice to have do do this always because 'x' might contain a 
color scheme, especially in scripts with lots of different color setting 
commands.

Regards,
Rolf
-- 

Rolf Huehne
Postdoc

Leibniz Institute on Aging - Fritz Lipmann Institute (FLI)
Beutenbergstrasse 11
07745 Jena, Germany

Phone:   +49 3641 65 6205
Fax:     +49 3641 65 6210
E-Mail:  rhue...@leibniz-fli.de
Website: http://www.leibniz-fli.de

           Scientific Director: Prof. Dr. K. Lenhard Rudolph
        Head of Administration: Dr. Daniele Barthel
Chairman of Board of Trustees: Burkhard Zinner

VAT No: DE 153 925 464
Register of Associations: No. 230296, Amtsgericht Jena
Tax Number: 162/141/08228


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to