From: Lachele Foley (
Date: Mon Mar 06 2017 - 07:55:01 CST

I would like to be able to easily set molecules in different VMD instances
that are different sizes into different sized windows and have them all be
on the same scale. If the molecules happen to have sufficient elements in
common, I can use the method below (based on a much appreciated suggestion
by Jodi). But it would be nicer to have another way. Is it possible to
set a scale such as "1 angstrom = 20 px"?

Here's my slight variant of J's suggestion:

1. Enable a view of some subset of common parts of the final molecular
views of all molecules

2. Open the TkConsole in each VMD instance

3. Determine reasonable relative window sizes and scalings so that
everything you finally want to see fits. Here, let's say that molecule 1
(M1) needs about twice the height of molecule 2 (M2) and that you want the
width the same. Let's say that when the whole scene is rendered, M1 needs
to be scaled down to a quarter (0.25).

4. Set display sizes for each. For example, for M1 "display resize 400
400" and for M2, "display resize 400 200"

5. Reset views for each with "display resetview"

6. Use "scale to" or "scale by" to set the scales relative to the window
sizes. For example, using "to", M1 would be "scale to 0.25" and M2 would
be "scale to 0.5".

7. Re-enable display of the entire image.

This procedure seems to work, but it's a bit cumbersome and requires a lot
of fiddling. Is there a better way?

:-) Lachele
Lachele Foley
Athens, GA USA