Thanks, Bob, I never seem to remember the /model syntax, and the last solution is great - so simple.
Frieda

On Feb 28, 2007, at 11:48 PM, Bob Hanson wrote:

Frieda Reichsman wrote:

Say I have 3 files loaded but my set of labels should appear on only
one of them. I also want to be able to turn on and off the display of
the three proteins at will.

Is there an easy way to select a series of single atoms for labeling
and have the label apply only to one file?

Or is the only way to do this to repeat "select file=1 and ..." over
and over, like so:

select file=1 and 263.n
label helix 1

If it's one model per file, you can just use the old syntax:

select 263.n/1; label helix1

Certainly you need only the number of select/label combinations as you
have distinct labels, but other than that, yes, you need to specify the
atom and model number to get the label on just that atom.

In other words is there some way to say, "the following selections
apply ONLY to file =1" (and then also end it in some way)?

Well, you could do:

select 263.n; label helix1
select 283.n; label helix2
...
select file != 1
labels off

That is, just put all the labels in, but then in the end turn the
unwanted ones off.

Bob


///////////////////////////////////////////


Frieda Reichsman, PhD

Molecules in Motion

Interactive Molecular Structures

http://www.moleculesinmotion.com


///////////////////////////////////////////





---------------------------------------------------------------------- ---
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

///////////////////////////////////////////

Frieda Reichsman, PhD
Molecules in Motion
Interactive Molecular Structures
http://www.moleculesinmotion.com

///////////////////////////////////////////


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to