Re: [Jmol-users] Selecting atoms in one model using distance fromsecond model

2007-05-09 Thread Angel Herraez
Bob answered to Ravi: > > load "fileset" " 1.pdb" "2.sdf"; model All;display(*/1, */2.1);hide > > [LIG]/1; > > > when I do this, then all the models get displayed. But when I remove > > "hide [LIG]/1" everthing works. Could somebody tell me what I am doing > > wrong ? (please note, [LIG] is a

Re: [Jmol-users] Selecting atoms in one model using distance from second model

2007-05-09 Thread Bob Hanson
Ravi, lots of interesting questions here. Ravi M wrote: > Hi All, > I have loaded two models in jmol, and did "model > All;display(*/1, */2);" I was wondering if it is possible to select > atoms in model 1 which are at certain distance from atoms in model 2. > model 0 should be all y

Re: [Jmol-users] symbol font in labels

2007-05-09 Thread Bob Hanson
[found this in my outbox -- never sent?] OK, thanks, Frieda. I get it. Sure. OK, both those issues -- draw state and unicode in state are corrected in 11.1.37. Bob Frieda Reichsman wrote: > Not fixed - in 11.1.36 they are rendered as chinese characters. also > there is a problem with saving

[Jmol-users] Selecting atoms in one model using distance from second model

2007-05-09 Thread Ravi M
Hi All, I have loaded two models in jmol, and did "model All;display(*/1, */2);" I was wondering if it is possible to select atoms in model 1 which are at certain distance from atoms in model 2. Another issue I am having is that if I have multiple models loaded in JMOL and if I use "hide

Re: [Jmol-users] symbol font in labels

2007-05-09 Thread Bob Hanson
For the record, I was wrong about this. The reason this was happening was that Jmol was not correctly coding unicode. Yes, \u3b1 does encode alpha, but if that is followed by a number, you have do make sure the unicode has a complete set of four digits: \u3b13 is most certainly not the same as

Re: [Jmol-users] super and subscripts in labels

2007-05-09 Thread Bob Hanson
don't get me wrong -- I think unicode is great - just probably not the thing for superscripts and subscripts. I know -- you want the superscripts SMALLER - well, a future improvement, I think. Angel Herraez wrote: >On 9 May 2007 at 17:28, Frieda Reichsman wrote: > > >>OK, my guess is that yo

Re: [Jmol-users] super and subscripts in labels

2007-05-09 Thread Angel Herraez
On 9 May 2007 at 17:28, Frieda Reichsman wrote: > OK, my guess is that you did this with several echos, changing font sizes > between, and set the No, no. that's a real label, attached to atomno=3. I wouldn't cheat you. Just the wonders of Unicode. I've already put the code in a previous post,

Re: [Jmol-users] super and subscripts in labels

2007-05-09 Thread Angel Herraez
Oh Bob, you are too fast for me... That way sounds easy and good. OK, now with my trick. I looked up some Unicode characters for the scripted numbers. Last time I did this, I was searching for several arrows, some work, some not. But the subscripts and superscripts all work OK. Codes are belo

Re: [Jmol-users] super and subscripts in labels

2007-05-09 Thread Bob Hanson
Ignore Angel. That looks like crap! :) Just use label "\u03B13" and 11.1.37. Bob Frieda Reichsman wrote: > OK, my guess is that you did this with several echos, changing font > sizes between, and set the echos so that they begin at adjacent > horizontal points, but vary their vertica

Re: [Jmol-users] super and subscripts in labels

2007-05-09 Thread Frieda Reichsman
OK, my guess is that you did this with several echos, changing font sizes between, and set the echos so that they begin at adjacent horizontal points, but vary their vertical point. Am I right? :) If you did use echos, did you do this with echos that are fixed in 3D space to a point, so th

Re: [Jmol-users] symbol font in labels

2007-05-09 Thread Bob Hanson
we're hop-skipping emails. I reproduced the problems with the aid of your excellent scripts and they are both fixed now. Bob Frieda Reichsman wrote: > Hi Bob and everyone, > > This is not a problem for me, so I do not need help with it. (But > thanks). I am able to get the symbol font characte

Re: [Jmol-users] symbol font in labels

2007-05-09 Thread Frieda Reichsman
Hi Bob and everyone, This is not a problem for me, so I do not need help with it. (But thanks). I am able to get the symbol font characters to show up perfectly in my scripts. I was just trying to contribute to the state saving tests in Jmol by reporting what seems to be a failure in savi

Re: [Jmol-users] super and subscripts in labels

2007-05-09 Thread Bob Hanson
OK, OK. If you are going to be that way about it 11.1.37 introduces simple standard for labels, echos, hover, etc. Very minimal -- just shifting characters up and down with no font size change. For now that will have to do. No option for amount of lift or drop. :) Bob Angel Herraez wr

[Jmol-users] super and subscripts in labels

2007-05-09 Thread Angel Herraez
Following a recent post by Frieda, I got mad about trying to get sub/superscripts in labels. This is great fun! See attached png image. Must leave for dinner. Will come back later and explain how I did it... meanwhile, you can start a bet ;-D The following section of this message contains a

Re: [Jmol-users] symbol font in labels

2007-05-09 Thread Bob Hanson
can anyone help Frieda with this? I don't think it has anything to do with Jmol, I don't know what to suggest. according to http://www.khngai.com/chinese/charmap/tbluni.php?page=0 Chinese unicode is 0x4E00 - 0x9FFF. None of the characters we are using fall into this range. Why would her machine

Re: [Jmol-users] symbol font in labels

2007-05-09 Thread Frieda Reichsman
Not fixed - in 11.1.36 they are rendered as chinese characters. also there is a problem with saving state of a draw command I used. will send a couple of scripts to you offlist. Frieda On May 9, 2007, at May 9, 3:09 PM, Bob Hanson wrote: My tests indicate this is no problem any more. Rec

Re: [Jmol-users] symbol font in labels

2007-05-09 Thread Bob Hanson
My tests indicate this is no problem any more. Records show this was fixed for 11.1.26. Have you tried 11.1.36? Try that and get back to me, please. If it still does not work, I need to know what the exact issue is, since I can't reproduce it here. Bob Frieda Reichsman wrote: > On Mar 20 20

Re: [Jmol-users] symbol font in labels

2007-05-09 Thread Bob Hanson
just the sort of thing we want figured out before 11.2. Good. Frieda Reichsman wrote: > On Mar 20 2007, Bob wrote: > >> To display Greek letters or other special characters in Jmol, simply >> use the Unicode character "escape" sequence: >> >> select (atomno=3);label "alpha \u03B1 beta \u03B2 gamm

Re: [Jmol-users] symbol font in labels

2007-05-09 Thread Frieda Reichsman
On Mar 20 2007, Bob wrote: To display Greek letters or other special characters in Jmol, simply use the Unicode character "escape" sequence: select (atomno=3);label "alpha \u03B1 beta \u03B2 gamma \u03B1 Angstroms \u00C5" These are not properly saved in terms of the state, though. I'll look

Re: [Jmol-users] super/subscript in labels?

2007-05-09 Thread Frieda Reichsman
Thanks, Angel, that will help, but I also need a 4! :( Feature request, I guess. Frieda On May 9, 2007, at May 9, 11:42 AM, Angel Herraez wrote: Frieda, there is ability to show Unicode characters in labels, and that has at least superscript 2 and 3. Maybe in that way something can be done.

Re: [Jmol-users] zoomTo an atom

2007-05-09 Thread David Leader
I wrote: >I've tested it on the residue groups that constitute our motifs. I >find that I have to use something like: > >zoom (selected) 0 *10 > >to get it the right size. > >'zoom (selected) 0' certainly zooms it, but I would estimate the >motif occupies perhaps 1/10 of the area in a particular

Re: [Jmol-users] zoomTo an atom

2007-05-09 Thread Bob Hanson
David Leader wrote: >Bob wrote: > > > >>checked in for Jmol 11.1.36: >> >> >>zoom (atom expression) 0 >>zoomTo timeSec (atom expression) 0 >> >>zooms to the atom expression, filling the screen (roughly) with that set >>of atoms. >> >>Additional options include any of the following after the zero

Re: [Jmol-users] super/subscript in labels?

2007-05-09 Thread Angel Herraez
Frieda, there is ability to show Unicode characters in labels, and that has at least superscript 2 and 3. Maybe in that way something can be done. El 9 May 2007 a las 9:52, Bob Hanson escribió: > nope > Frieda Reichsman wrote: > > > Do labels have superscript and subscript capabilities? I don'

Re: [Jmol-users] zoomTo an atom

2007-05-09 Thread David Leader
Bob wrote: >checked in for Jmol 11.1.36: > > >zoom (atom expression) 0 >zoomTo timeSec (atom expression) 0 > >zooms to the atom expression, filling the screen (roughly) with that set >of atoms. > >Additional options include any of the following after the zero: > >+ x >- x >* x >/ x Wow! Thanks Bo

Re: [Jmol-users] super/subscript in labels?

2007-05-09 Thread Bob Hanson
nope Frieda Reichsman wrote: > Do labels have superscript and subscript capabilities? I don't see any > documentation, just wondering if it might have been implemented > somewhere along the way without notice. > > Frieda > > > /// > > > Frieda Reichsman >

[Jmol-users] Perspective model 10 or 11?

2007-05-09 Thread Bob Hanson
Rolf, Ah! I know what it is. Alright, this is IMPORTANT. We need lots of input on this. Jmol 11.1 has two perspective models -- 10 and 11. set perspectiveModel 10 is the default because of compatibility issues with Jmol 10. The problem with this model is that it is nonlinear. set perspectiveM

[Jmol-users] super/subscript in labels?

2007-05-09 Thread Frieda Reichsman
Do labels have superscript and subscript capabilities? I don't see any documentation, just wondering if it might have been implemented somewhere along the way without notice. Frieda /// Frieda Reichsman Molecules in Motion Interactive Molecular Struc

Re: [Jmol-users] zoomTo an atom

2007-05-09 Thread Bob Hanson
Rolf Huehne wrote: >Bob Hanson wrote: > > >>checked in for Jmol 11.1.36: >> >> >>zoom (atom expression) 0 >>zoomTo timeSec (atom expression) 0 >> >>zooms to the atom expression, filling the screen (roughly) with that set >>of atoms. >> >> >> >> >I tried several examples and the zoom level

Re: [Jmol-users] zoomTo an atom

2007-05-09 Thread Rolf Huehne
Bob Hanson wrote: > checked in for Jmol 11.1.36: > > > zoom (atom expression) 0 > zoomTo timeSec (atom expression) 0 > > zooms to the atom expression, filling the screen (roughly) with that set > of atoms. > > I tried several examples and the zoom level wasn't as expected. The atoms filled only