Log Graph

Q.
How can we plot a log graph?
A.
A log-log graph is a graph oh which the points (LOG10(x),LOG10(y)) are plotted.
Thus, when the range of x is from a to b,and the range of y is from c to d, first execute
SET WINDOW LOG10(a),LOG10(b),LOG10(c),LOG10(d)
to set the coordinate system on the screen, and then for each x, y, execute
PLOT POINTS: LOG10(x),LOG10(y)

Kepler3.BAS located in the SAMPLE subfolder is an example of a log-log graph.

Back