Skip to content

Instantly share code, notes, and snippets.

@jywarren
Created August 11, 2014 19:03
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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
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