This example demonstrate using SpecdrawJS in full client-side mode. For details about SpecdrawJS. For more examples see NMRPro
Last active
October 16, 2015 22:37
-
-
Save ahmohamed/71a3a74f197165335a77 to your computer and use it in GitHub Desktop.
Specdraw full-client example: Adinosine sampleset
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<title>SpecdrawJS: Full client-side mode - SampleSet spectra</title> | |
<link rel="stylesheet" href="https://rawgit.com/ahmohamed/specdraw.js/master/specdraw.min.css" type="text/css"> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script src="https://rawgit.com/ahmohamed/specdraw.js/master/specdraw.js"></script> | |
<style type="text/css"> | |
#container { | |
width:960px; | |
height:500px; | |
} | |
</style> | |
<body> | |
<div id="container"></div> | |
<script> | |
var spec_app = specdraw.App() | |
.data('http://mamitsukalab.org/tools/nmrpro/nmrpro/spectrum/AdinosineSampleSet?connected=0'); | |
d3.select('#container').call(spec_app); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment