Sorry to bother everyone again,<div><br></div><div>But I was using</div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">~modeldisp #0.1-1000 #hides all molecules<br>
modeldisp #0.1 #shows first molecule<br><span class="Apple-style-span" style="font-family: Arial; font-size: 13px; ">labelopt info molecule </span><br><span class="Apple-style-span" style="font-family: Arial; font-size: 13px; ">la @/serialNumber=1 #labels molecule as "#0.1"</span></blockquote>
<div>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial"><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial">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 </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial"><br></p></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px;">2dlabels change size <label-name> 40<br>
</span></font></blockquote><div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial"><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial">I wasn't sure what i should use as "label-name". In the ucsf documentation <<a href="http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/2dlabels.html">http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/2dlabels.html</a>> it says "<span class="Apple-style-span" style="font-family: Times; font-size: medium; "><b><i>label-name</i></b> 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? </span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial"><font class="Apple-style-span" face="Times"><span class="Apple-style-span" style="font-size: medium;"><br></span></font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial">
<font class="Apple-style-span" face="Times"><span class="Apple-style-span" style="font-size: medium;">Thanks,</span></font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial"><font class="Apple-style-span" face="Times"><span class="Apple-style-span" style="font-size: medium;"><br>
</span></font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial"><font class="Apple-style-span" face="Times"><span class="Apple-style-span" style="font-size: medium;">Chris</span></font></p><br><div class="gmail_quote">
On Tue, Jul 7, 2009 at 1:00 AM, Elaine Meng <span dir="ltr"><<a href="mailto:meng@cgl.ucsf.edu" target="_blank">meng@cgl.ucsf.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Chris,<br>
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).<br>
<br>
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."<br>
<br>
<<a href="http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/2dlabels.html" target="_blank">http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/2dlabels.html</a>><br>
<<a href="http://www.cgl.ucsf.edu/chimera/docs/ContributedSoftware/2dlabels/2dlabels.html" target="_blank">http://www.cgl.ucsf.edu/chimera/docs/ContributedSoftware/2dlabels/2dlabels.html</a>><br>
<br>
If you want to get fancy, 2D labels can also be faded in or out over a specified number of frames.<div><br>
<br>
I hope this helps,<br>
Elaine<br>
-----<br>
Elaine C. Meng, Ph.D.<br></div><div>
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab<br>
Department of Pharmaceutical Chemistry<br>
University of California, San Francisco<br>
<a href="http://www.cgl.ucsf.edu/home/meng/index.html" target="_blank">http://www.cgl.ucsf.edu/home/meng/index.html</a><br>
<br></div><div><div></div><div>
On Jul 5, 2009, at 6:29 PM, christopher lau wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi everyone,<br>
<br>
Thanks for your help, using<br>
open 1g1p<br>
rainbow models<br>
[ then I used the "Tile Structures" tool to spread the structures out ]<br>
labelopt info molecule<br>
la @/serialNumber=1<br>
Worked perfectly!<br>
<br>
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<br>
<br>
Thanks,<br>
<br>
Chris<br>
<br>
On Sat, Jul 4, 2009 at 10:00 AM, Eric Pettersen <<a href="mailto:pett@cgl.ucsf.edu" target="_blank">pett@cgl.ucsf.edu</a>> wrote:<br>
Hi Chris,<br>
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 (<a href="http://www.cgl.ucsf.edu/chimera/current/docs/UsersGuide/midas/2dlabels.html" target="_blank">http://www.cgl.ucsf.edu/chimera/current/docs/UsersGuide/midas/2dlabels.html</a>). Assuming that your Molecule variable is 'm' then <a href="http://m.name" target="_blank">m.name</a> 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.<br>
<br>
--Eric<br>
<br>
On Jul 2, 2009, at 11:02 PM, <a href="mailto:cdlau@ucsd.edu" target="_blank">cdlau@ucsd.edu</a> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Thanks for the response. This would not work for my case because I am<br>
writing a plugin for ViewDock for use with a Tiled Wall Display. I was<br>
hoping there was a setting that was available to show the molecule name<br>
(if a setting does exist I can initiate it with runCommand). Does anyone<br>
know if this is possible?<br>
<br>
Thanks,<br>
<br>
Chris<br>
<br>
On Thu, 2 Jul 2009, <a href="mailto:cdlau@ucsd.edu" target="_blank">cdlau@ucsd.edu</a> wrote:<br>
<br>
Hi,<br>
<br>
I was wondering if there was a way to display the molecule name that is<br>
being shown in chimera. A simple display such as "molecule #0.10" below<br>
the rendered molecule would be great.<br>
<br>
Thanks for your help,<br>
<br>
Chris<br>
<br>
Just place the mouse over the item you want to know more about and a popup<br>
balloon will tell you about it. The text starts with the model number,<br>
e.g., #0.10, and may or may not have additional information, i.e., for an<br>
atom it includes the residue name and sequence number and the atom name.<br>
<br>
- Greg<br>
_______________________________________________<br>
Chimera-users mailing list<br>
<a href="mailto:Chimera-users@cgl.ucsf.edu" target="_blank">Chimera-users@cgl.ucsf.edu</a><br>
<a href="http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users" target="_blank">http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users</a><br>
</blockquote>
<br>
<br>
_______________________________________________<br>
Chimera-users mailing list<br>
<a href="mailto:Chimera-users@cgl.ucsf.edu" target="_blank">Chimera-users@cgl.ucsf.edu</a><br>
<a href="http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users" target="_blank">http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users</a><br>
</blockquote>
<br>
</div></div></blockquote></div><br>
</div>