There are several ways the user might be involved in creating a plot.
back to the list of examples
- In Example i1, the user is prompted for the function or x,y data to plot, because it is not provided.
- In Example i2, the function is specified, so the user is only prompted for the minimum and maximum x-value to use.
- Examples i3, i3a, and i4 illustrate how a user might introduce data using a
- Examples i5 and i6 demonstrate how feedback can be given to a user after a plot is drawn. This can be either automatic (as in Example i5) or upon the user pressing a link (as in Example i6).
- Example i7 demonstrates how divgraph.js can be used to create an animated histogram with button conrol.
- Example i8 demonstrates how divgraph.js can be used to create an "NMR spectrum" that is based on user data and is expandable to see finer detail.
copyright 2001 Robert M. Hanson. All rights reserved. divgraph.js is freely distributable for noncomercial purposes, provided reference is made as "divgraph.js was developed at St. Olaf College by Robert M. Hanson (http://www.stolaf.edu/people/hansonr/divgraph)." Commercial licensing is available for specific purposes.