ps -- the following are also now defined in JSpecView:

-new feature: HIGHLIGHT OFF
-new feature: HIGHLIGHT x1 x2
-new feature: HIGHLIGHT x1 x2 OFF
-new feature: HIGHLIGHT x1 x2 r g b
-new feature: HIGHLIGHT x1 x2 r g b a
  - max for a is 150
  - r g b a may be fractional [0,1] or in the range (1,256)

I needed that for testing.




On Sat, Jun 28, 2014 at 12:23 AM, Robert Hanson <[email protected]> wrote:

>
>
>
> On Wed, Jun 25, 2014 at 8:21 AM, Spinney, Richard <
> [email protected]> wrote:
>
>> I have been trying to update some old Jmol - JSV pages and have run into
>> some problems. The jsvAddHighlight function seems to be broken. It is
>> plotting the highlight at the wrong coordinate, wrong width and color.
>
>
> I am not seeing the "wrong color", but the other aspects are fixed.
>
>
>> I was also trying to reproduce the old coordCallBackfunction feature and
>> cannot seem to get anything back from the jsvGetCoordinate function.
>>
>
> This is working for me. At
> http://chemapps.stolaf.edu/jmol/jsmol/jsmol.14.2/jsv.htm in the developer
> console:
>
> Jmol.script(jsv,"peakcallbackfunctionName testing")
> testing = function(x,y,xspec,yspec){alert("x="+x + " y=" + y + " xspec=" +
> xspec + " yspec=" + yspec)}
>
> then clicking on the spectrum reports the actual click x,y and the
> spectrum x,y at the nearest spectrum x.
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> Chair, Department of Chemistry
> St. Olaf College
> Northfield, MN
> http://www.stolaf.edu/people/hansonr
>
>
> 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
>
>


-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


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
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to