From: John Stone (johns_at_ks.uiuc.edu)
Date: Fri Jun 01 2007 - 14:11:07 CDT

Hi,
  My coworker Jordi wrote up a useful VMD script for displaying a
"ruler" grid that automatically rescales along with the molecule.
This script could be modified slightly to draw various other scale bars
if you prefer something different, but it should be a good starting
point as it handles the trickiest parts such as automatically updating
when the user zooms in and out etc. I've attached the script to this email.

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu

On Wed, May 30, 2007 at 09:33:09AM +0300, Liisa laakkonen llaakkon::cc.helsinki.fi wrote:
>
> Sent to CCL by: Liisa laakkonen [llaakkon===cc.helsinki.fi]
> Hello Yubo,
>
> I've done the angstrom ruler simply by building a dummy pdb with
> enough points to measure the desired distance, and displaying it side
> by side with my molecule. Works equally well for a compass.
>
> Greetings,
> Liisa
>
> liisa.laakkonen ~ helsinki.fi
>
> On Tue, May 29, 2007 at 09:29:44AM -0400, Chelsey Crosse cmcrosse*_*mtu.edu wrote:
> > Yubo,
> >
> > The only way that I know of to put a ruler in VMD by opening the Tcl
> > console and drawing it in yourself. However, I'm not positive about
> > how accurate you can make it.
> >
> > Chelsey
> >
> > On 25 May 2007, at 10:17, Yubo Fan yubofan(0)mail.chem.tamu.edu wrote:
> >
> > > Hello,
> > >
> > > A quick question about VMD. Is there any way to show ruler (ie
> > > angstroms in unit) in VMD window?
> > >
> > > Thanks,
> > >
> > > Yubo
> > > ============================================================
> > > Dr. Yubo Fan Email: yubofan^^^mail.chem.tamu.edu
> > > Department of Chemistry Tel: 1-979-845-5237
> > > Texas A&M University
> > > College Station, TX 77843
> > > ============================================================
> > >
> >
>
>
>
> -= This is automatically added to each message by the mailing script =-
> To recover the email address of the author of the message, please change
> the strange characters on the top line to the @ sign. You can also
> look up the X-Original-From: line in the mail header.
>
> E-mail to subscribers: CHEMISTRY_at_ccl.net or use:
> http://www.ccl.net/cgi-bin/ccl/send_ccl_message
>
> E-mail to administrators: CHEMISTRY-REQUEST_at_ccl.net or use
> http://www.ccl.net/cgi-bin/ccl/send_ccl_message
>
> Subscribe/Unsubscribe:
> http://www.ccl.net/chemistry/sub_unsub.shtml
>
> Before posting, check wait time at: http://www.ccl.net
>
> Job: http://www.ccl.net/jobs
> Conferences: http://server.ccl.net/chemistry/announcements/conferences/
>
> Search Messages: http://www.ccl.net/htdig (login: ccl, Password: search)
>
> If your mail bounces from CCL with 5.7.1 error, check:
> http://www.ccl.net/spammers.txt
>
> RTFI: http://www.ccl.net/chemistry/aboutccl/instructions/
>
> -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078