[Chimera-users] center a map
meng at cgl.ucsf.edu
Fri Sep 15 09:08:27 PDT 2017
If you color by radius it needs to know the point of reference for the coloring, i.e. the “origin” coordinates in the Surface Color dialog. It sounds like you just left that as 0 0 0 and instead changed the map center to 0 0 0 with Volume Viewer. The simpler way is to just click the “center” button next to the “origin” field in Surface Color and it will automatically fill in the origin values with the coordinates of the center of map, if that is what you want to use as the point of reference.
If you’re using command “scolor” with “geometry radial" to do the coloring, there is a “center’ option to specify the point of reference. There is no option to automatically use the center of the map, but you could use the Surface Color dialog to find that out.
However, if you wtill wanted to change the map coordinates instead of simply specifying the center for coloring, it can be done with the “volume” command, see the “origin” and “originIndex” options
The volume command does most of the things that are in the Volume Viewer GUI. You can search that page for various things you want to do with commands.
I hope this helps,
Elaine C. Meng, Ph.D.
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco
> On Sep 14, 2017, at 6:19 PM, C.J. <biocjh at gmail.com> wrote:
> Hi specialists,
> I want to color a map by radius. But for some maps, it failed.
> I found that that "center"(Volume Viewer -> Features -> Coordinates) button(not the one at bottom of Volume Viewer dialog) can center a map to color by radius.
> Is there a command-line to do that function? And why some maps need to be center before color by radius? I have 2 C1 map with spherical shape reconstructed from the same data, but one need to and the other one needn't.
> Thank you in advances!
> Best regards!
More information about the Chimera-users