Set different colors for each letter like in chimera
Dear chimerax developers,
I was trying to color my labels in chimerax using commands, but it will be too tedious for me to create different labels for each letters, color them differently then align them by fine-tuning the x/y positions. I remember in chimera I was able to call out an window and within that, I can conveniently edit my texts and colors, and save it as a label file. Does chimerax still offer the similar function? Or if there is any equivalent way to achieve that easily?
Thanks a lot for your help!
Best, Siyu
Dear Siyu, There is not yet a "2D Labels" graphical interface in ChimeraX, although we would like to have one eventually.
Currently you have to use the "2dlabel" command to change color, size, font, etc., http://www.cgl.ucsf.edu/home/meng/chimerax/vdocs/user/commands/2dlabels.html
...but for positioning you can drag with the mouse using the "move labels" mouse mode. For example, to set right-mouse button (= trackpad + Alt on Windows, trackpad + command on Mac) click-and-drag to move the labels, go to Toolbar tab: Right Mouse and click the icon that looks like a label "ATP" with an arrow under it.
http://www.cgl.ucsf.edu/home/meng/chimerax/vdocs/user/tools/mousemodes.html
In my experience it is not so bad changing other properties with the command, so it helps a lot to use the mouse (or trackpad) for interactive positioning.
I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Oct 28, 2020, at 11:59 AM, Siyu Chen siyuchen2021@u.northwestern.edu wrote:
Dear chimerax developers,
I was trying to color my labels in chimerax using commands, but it will be too tedious for me to create different labels for each letters, color them differently then align them by fine-tuning the x/y positions. I remember in chimera I was able to call out an window and within that, I can conveniently edit my texts and colors, and save it as a label file. Does chimerax still offer the similar function? Or if there is any equivalent way to achieve that easily?
Thanks a lot for your help!
Best, Siyu
Dear Elaine,
Thanks a lot for your quick response! I will see what I can do to align them and hopefully the GUI in chimerax can be out soon.
Best, Siyu
On Oct 28, 2020, at 2:10 PM, Elaine Meng meng@cgl.ucsf.edu wrote:
Dear Siyu, There is not yet a "2D Labels" graphical interface in ChimeraX, although we would like to have one eventually.
Currently you have to use the "2dlabel" command to change color, size, font, etc., http://www.cgl.ucsf.edu/home/meng/chimerax/vdocs/user/commands/2dlabels.html
...but for positioning you can drag with the mouse using the "move labels" mouse mode. For example, to set right-mouse button (= trackpad + Alt on Windows, trackpad + command on Mac) click-and-drag to move the labels, go to Toolbar tab: Right Mouse and click the icon that looks like a label "ATP" with an arrow under it.
http://www.cgl.ucsf.edu/home/meng/chimerax/vdocs/user/tools/mousemodes.html
In my experience it is not so bad changing other properties with the command, so it helps a lot to use the mouse (or trackpad) for interactive positioning.
I hope this helps, Elaine
Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Oct 28, 2020, at 11:59 AM, Siyu Chen siyuchen2021@u.northwestern.edu wrote:
Dear chimerax developers,
I was trying to color my labels in chimerax using commands, but it will be too tedious for me to create different labels for each letters, color them differently then align them by fine-tuning the x/y positions. I remember in chimera I was able to call out an window and within that, I can conveniently edit my texts and colors, and save it as a label file. Does chimerax still offer the similar function? Or if there is any equivalent way to achieve that easily?
Thanks a lot for your help!
Best, Siyu
Hi Siyu,
When you make 2d labels they appear in the Models panel under 2D Labels and you can click the color button next to each label and change its color with the color chooser dialog.
Tom
On Oct 28, 2020, at 12:13 PM, Siyu Chen siyuchen2021@u.northwestern.edu wrote:
Dear Elaine,
Thanks a lot for your quick response! I will see what I can do to align them and hopefully the GUI in chimerax can be out soon.
Best, Siyu
On Oct 28, 2020, at 2:10 PM, Elaine Meng meng@cgl.ucsf.edu wrote:
Dear Siyu, There is not yet a "2D Labels" graphical interface in ChimeraX, although we would like to have one eventually.
Currently you have to use the "2dlabel" command to change color, size, font, etc., http://www.cgl.ucsf.edu/home/meng/chimerax/vdocs/user/commands/2dlabels.html
...but for positioning you can drag with the mouse using the "move labels" mouse mode. For example, to set right-mouse button (= trackpad + Alt on Windows, trackpad + command on Mac) click-and-drag to move the labels, go to Toolbar tab: Right Mouse and click the icon that looks like a label "ATP" with an arrow under it.
http://www.cgl.ucsf.edu/home/meng/chimerax/vdocs/user/tools/mousemodes.html
In my experience it is not so bad changing other properties with the command, so it helps a lot to use the mouse (or trackpad) for interactive positioning.
I hope this helps, Elaine
Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Oct 28, 2020, at 11:59 AM, Siyu Chen siyuchen2021@u.northwestern.edu wrote:
Dear chimerax developers,
I was trying to color my labels in chimerax using commands, but it will be too tedious for me to create different labels for each letters, color them differently then align them by fine-tuning the x/y positions. I remember in chimera I was able to call out an window and within that, I can conveniently edit my texts and colors, and save it as a label file. Does chimerax still offer the similar function? Or if there is any equivalent way to achieve that easily?
Thanks a lot for your help!
Best, Siyu
ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
participants (3)
-
Elaine Meng
-
Siyu Chen
-
Tom Goddard