forked from LGSInnovations/sigplot
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
40 changed files
with
13,968 additions
and
719 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<html> | ||
<head> | ||
<script src="/sigplot.js"></script> | ||
<style> | ||
#plot { | ||
width: 100%; | ||
height: 100vh; | ||
} | ||
|
||
#body { | ||
margin: 0; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="plot"></div> | ||
<script> | ||
window.onload = function() { | ||
var plot_options = { | ||
autohide_panbars: true, | ||
hide_note: true | ||
}; | ||
var data = [1, 2, 3, 4, 5, 4, 3, 2, 1]; // the series of y-values | ||
var data_header = { | ||
xunits: "Time", | ||
xstart: 100, // the start of the x-axis | ||
xdelta: 50, // the x-axis step between each data point | ||
yunits: "Power" | ||
}; | ||
var layer_options = { | ||
name: "Sample Data" | ||
}; | ||
var plot = new sigplot.Plot(document.getElementById('plot'), plot_options); | ||
plot.overlay_array(data, data_header, layer_options); | ||
} | ||
</script> | ||
</body> | ||
</html> | ||
|
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Oops, something went wrong.