Sorry to bother everyone again,

But I was using

~modeldisp #0.1-1000 #hides all molecules
modeldisp #0.1           #shows first molecule
labelopt info molecule 
la @/serialNumber=1   #labels molecule as "#0.1"


and I wanted to change the label size to larger than the default font size of 24.  From the documentation on changing 2dlabels I used the command 


2dlabels change size <label-name> 40


I wasn't sure what i should use as "label-name".  In the ucsf documentation <http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/2dlabels.html> it says "label-name is a label identifier, not its text."  I tried using various label names, but was not successful.  What is the correct label-name to use to change the font size?  


Thanks,


Chris


On Tue, Jul 7, 2009 at 1:00 AM, Elaine Meng <meng@cgl.ucsf.edu> wrote:
Hi Chris,
If you use the "regular" 3D labels (shown with commands labelopt and label), the font and size can be controlled in the Preferences (Favorites... Preferences, category: Background).

If you use 2D labels, the font and size as well as color and X,Y location can be set with the "2dlabels" command or in the 2D Labels graphical interface (under Tools... Utilities).  For the command, see the "size" "style"  and "typeface" options of "2dlabels create" and "2dlabels change."

<http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/2dlabels.html>
<http://www.cgl.ucsf.edu/chimera/docs/ContributedSoftware/2dlabels/2dlabels.html>

If you want to get fancy, 2D labels can also be faded in or out over a specified number of frames.


I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco
                    http://www.cgl.ucsf.edu/home/meng/index.html

On Jul 5, 2009, at 6:29 PM, christopher lau wrote:

Hi everyone,

Thanks for your help, using
open 1g1p
rainbow models
[ then I used the "Tile Structures" tool to spread the structures out ]
labelopt info molecule
la @/serialNumber=1
Worked perfectly!

Is there a way to change the font of the model number, it displays the molecule as #0.1, etc but the font is incredibly small

Thanks,

Chris

On Sat, Jul 4, 2009 at 10:00 AM, Eric Pettersen <pett@cgl.ucsf.edu> wrote:
Hi Chris,
Yet another way to do this, assuming you know the approximate x,y positions of your molecules on the screen would be to title them with the 2dlabels command (http://www.cgl.ucsf.edu/chimera/current/docs/UsersGuide/midas/2dlabels.html).  Assuming that your Molecule variable is 'm' then m.name is the molecule name (as shown in the Model Panel) and str(m) gives the same text as the help balloon would if the mouse were hovered over the Molecule.

--Eric

On Jul 2, 2009, at 11:02 PM, cdlau@ucsd.edu wrote:

Hi,

Thanks for the response.  This would not work for my case because I am
writing a plugin for ViewDock for use with a Tiled Wall Display.  I was
hoping there was a setting that was available to show the molecule name
(if a setting does exist I can initiate it with runCommand).  Does anyone
know if this is possible?

Thanks,

Chris

On Thu, 2 Jul 2009, cdlau@ucsd.edu wrote:

Hi,

I was wondering if there was a way to display the molecule name that is
being shown in chimera.  A simple display such as "molecule #0.10" below
the rendered molecule would be great.

Thanks for your help,

Chris

Just place the mouse over the item you want to know more about and a popup
balloon will tell you about it.  The text starts with the model number,
e.g., #0.10, and may or may not have additional information, i.e., for an
atom it includes the residue name and sequence number and the atom name.

     - Greg
_______________________________________________
Chimera-users mailing list
Chimera-users@cgl.ucsf.edu
http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users


_______________________________________________
Chimera-users mailing list
Chimera-users@cgl.ucsf.edu
http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users