pbodo
October 2nd, 2002, 01:14 PM
Can JavaScript create interactive graphs? I teach an introductory game theory class and produced a simple html file w/ some JavaScript code to help students practice simple numerical problems (see file at http://www.southernct.edu/~bodo/MBA%20lectures/NashFinder.htm). The user enters a few numbers in a form and in two other forms the solutions appear, if they exist. It would be nice to graph some solutions automatically and display the graph in the same file. This would include plotting two simple step functions in the same diagram. I tried to locate the usual "plot", "graph" or “display” functions some other programming languages use but I could not find them in JavaScript (I am a beginner!). What is the best way to plot functions in JavaScript? I would appreciate your suggestions. Thanks in advance,
Peter Bodo
Peter Bodo