Re: [PyMOL] Color bar for volume?

2018-02-07 Thread Thomas Holder
Hi Murpholino, You could convert your volume colors to a ramp object with a Python script like this: # conversion function def volume2ramp(volname, rampname='', mapname='none'): v = cmd.volume_color(volname) colors = [] for i in range(0, len(v), 5): colors.append('0x%02x%02x%

[PyMOL] Color bar for volume?

2018-02-06 Thread Murpholino Peligro
Is there a way to add a color bar to a volume? I am looking for something like the bar in the last picture here ( https://pymolwiki.org/index.php/Ramp_New) This is my volume https://www.dropbox.com/s/x4ic7uvdlknk8us/volume.png?dl=0 Thanks. -