jmolApplet(400, 'load FILES "foo.pdb" "bar.pdb"; cpk off; wireframe
off;cartoon; color cartoon structure;frame 0.0');
(Note careful use of single and double quotes.)
Each is in a different model (1.1, 2.1) but the frame 0.0 command displays
them both.
On Wed, Jul 15, 2009 at 4:58 AM, Ian Stokes-Rees <
[email protected]> wrote:
> Hi,
>
> I'd like to overlay two PDB files in JMol. I tried:
>
> jmolInitialize("/jars/jmol");
> jmolApplet(400, "load foo.pdb; load bar.pdb; cpk off; wireframe off;
> cartoon; color cartoon structure;");
>
> but this didn't work (only the second one showed up).
>
> I read something about using "trajectories" to load multiple images.
> This isn't ideal, but it would work if someone could tell me how I then
> add "buttons" to turn off the different "layers".
>
> Regards,
>
> Ian
>
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users