draw_graph 1.0 -------------- REQUIREMENTS: VMD Version 1.0 or greater DESCRIPTION: draw_graph generates sample points of a function 'f' passed to it and then draws a smooth curve through those points. Arguments to draw graph include the name of the function, a starting point for calculations, an ending point, and a step size between start and end to determine how many points will be used to form the curve. These parameters must be given in the order just specified. To start the user off, a sample function, called 'f' has been provided. You may want to just alter this function when plotting your own data to be sure that the syntax is correct. PROCEDURES: f - definition of the function to graph draw_graph - calculates points of f and plots them EXAMPLE USAGE: To plot the function f from -5 to 4 with a step size of 0.2 draw_graph f -5 4 0.2 EXAMPLE OUTPUT: Image of the parabolic function which is included with the script. DOWNLOAD FILE: 2dgraph.tcl AUTHOR: Andrew Dalke (dalke@ks.uiuc.edu)