From: Axel Kohlmeyer (
Date: Fri Jan 09 2009 - 08:23:16 CST

On Fri, 9 Jan 2009, Jun Cheng wrote:

JC> Dear VMD users,

dear jun,

JC> I want to display cube files using isosurface methods. I want to show the
JC> difference or sum of two cube files. Is that possible to use VMD to add the
JC> data in one cube to the other, or subtract one from the other? Thanks in

not as such (or rather not yet), but many codes that produce
cube files also have tools to process them. i've written some
for my own purposes as well (to cut out pieces from a larger
cube, or to cut away empty outer parts) and based on those
experiences i would say sum and difference of two cubes are
quite straightforward to implement.


JC> advance.
JC> Cheers,
JC> Jun

Axel Kohlmeyer
   Center for Molecular Modeling   --   University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
If you make something idiot-proof, the universe creates a better idiot.