Ah, two great ideas. I ended up rigging up a solution myself specifically
for the page I was working on, but I'll keep this in mind for the future.

Cheers, Mike

On Tue, Jul 20, 2010 at 8:34 AM, Jonathan Gutow <[email protected]> wrote:

> Mike,
>
> I can think of two ways to do this.
>
> 1) Two colorPickers with scripts that update just the + or - case.
> You will have to make the MO using the isosurface command and possibly
> make the - and + parts separately.
>
> 2) The new version that allows you to call  your own function should
> work for this as well.  Just call a different function for the + and -
> cases and update the color for each one.
>
> Let me know what you come up with.
>
> Jonathan
> On Jul 20, 2010, at 5:59 AM, [email protected]
> wrote:
>
> > Date: Mon, 19 Jul 2010 16:39:39 -0500
> > From: Michael Evans <[email protected]>
> > Subject: [Jmol-users] Using multiple jmolColorPickers in a single
> >       command?
> > To: [email protected]
> > Message-ID:
> >       <[email protected]>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > Is there a way to use input from two different color pickers in a
> > single
> > Jmol command? I'm thinking along the lines of isosurface and MO. A
> > way to
> > set the positive and negative colors for these commands
> > independently would
> > obviate the need for this feature (if it doesn't exist already), but
> > it
> > would be nice to have anyway.
> >
> > Cheers, Mike
> >
> > --
> > Mike Evans
> > Organic Chemistry Graduate Student
> > Moore Group
> > University of Illinois, Urbana-Champaign
>
>                          Dr. Jonathan H. Gutow
> Chemistry Department                                 [email protected]
> UW-Oshkosh                                           Office:920-424-1326
> 800 Algoma Boulevard                                 FAX:920-424-2042
> Oshkosh, WI 54901
>                  http://www.uwosh.edu/facstaff/gutow
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Mike Evans
Organic Chemistry Graduate Student
Moore Group
University of Illinois, Urbana-Champaign
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to