Thanks for an explanation, now I completely understand it. (In my case, having the background color same as label color does not matter, because I use also "set labeloffset 0 0")
Michal Bozon Bob Hanson wrote: > It's not a bug, just an undocumented feature. It's part of the design. > Labels colored to match the background are automatically switched to a > contrast color. If you really want to do this, just indicate a color > ever so slightly different from the background -- [0,0,1] for black, > [255,255,254] for white. I'll update the documentation to reflect this > feature. > > While I'm adt it, I'll add > > color labels [EMAIL PROTECTED], @g, @b} > > that is, the capability to adjust colors programmatically within a Jmol > script. > > Bob > > > Michal Bozon wrote: > >> I recently updated from 10.x and now I have the same problem. I have tested >> previous versions (11.2.9 and 11.2.8), and the bug is there too. >> >> labels "%e"; color labels black >> >> colorizes them white, the same is with >> >> color labels [0, 0, 0] >> >> any other color seems to work, so I can temporarily fix it with almost black >> [1, 1, 1] color.. >> Some environment info: arch linux, jre-6u2-1 >> >> >>> -- >>> 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 >>> >>> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Jmol-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/jmol-users >> >> > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

