Created
August 11, 2014 19:03
-
-
Save jywarren/801be868db5c8a9a16b7 to your computer and use it in GitHub Desktop.
A SpectralWorkbench.org macro to set the y-axis scale to auto-size
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
setup: function() { | |
// code to run on startup | |
flotoptions.yaxis.max = null | |
$.plot($("#graph"),$W.data,flotoptions); | |
}, | |
draw: function() { | |
// code to run every frame | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment