Well, two things. First, you must have mangled the data some way - or at
least clipping from this page doesn't work. Because the attached file did
run. Second, you can only load an isosurface "inline" like that in the very
latest version of Jmol. (I'm not sure it's even in the one I have up at
http://chemapps.stolaf.edu) What you would need to do is (all Jmol script
here)

isosurface INLINE @{javascript("getMol()")}

that tells Jmol to read the output of the JavaScript getMol() function as
the data for the isosurface instead of reading the data from a file.

Any reason you don't want to have that data in a file? -- or is this coming
back from a server and you are trying to keep it all together? Sure would be
simpler:

isosurface "somefile.jvxl"

Bob



On Wed, Jan 20, 2010 at 3:27 PM, Grossman, Robert B <robert.gross...@uky.edu
> wrote:

> Hi,
>
> I have a JVXL file containing MO data that I am trying to display.  I can
> see the molecule, but I can't see the MO.  I have tried various scripts to
> turn on the MO, to no avail.  Below I have copied the relevant part of my
> Web page.  I am using 'mo HOMO;' as the script, but I have tried several
> other commands, including none, to no avail.  How do I display the MO?  Does
> the fact that I load inline prevent the MO from being displayed?
>
> -- Bob
>
> <script type="text/javascript">
>    // <!--
>    function getMol() {
>        return '#JVXL VERSION 1.4\n#created by Jmol Version 11.6.15
>  2008-11-24 13:39 on Wed Dec 09 20:51:19 CST 2009\nMO range (-4.286028,
> -4.170638, -6.45537) to (5.6358566, 10.584962, 3.6056142)\ncalculation type:
>


-- 
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
testtest2
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to