Hi Krisztina,
I slightly modified the script, see attachment. The regular expression
is modified and I replaced search by match.
The script could be further optimized (exception handling etc.) but with
your example file it works fine now.
Cheers,
Thomas
On 10/29/2012 04:06 PM, Krisztina
Hi Yamei,
you can create a dummy color ramp:
PyMOL ramp_new colorbar, none, [-5, 0, 5], [red, white, blue]
There is also the spectrumbar script:
http://pymolwiki.org/index.php/Spectrumbar
Cheers,
Thomas
Yamei Yu wrote, On 10/29/12 16:46:
Hi all,
Do any know how to generate a color bar