|
||||||||
PREV NEXT | FRAMES NO FRAMES |
clear
removes all previous drawing from the graph window.
f
should be overridden in your class to calculate
whatever function you wish to graph.
functionPlot
that defaults to drawing the
graph in black using the whole width of the graph window with one point
every 10 pixels horizontally.
functionPlot
that defaults to drawing the
graph using the whole width of the graph window with one point every
10 pixels horizontally.
functionPlot
that defaults to drawing the
graph using the whole width of the graph window.
functionPlot
that defaults to drawing the
graph in black using the whole width of the graph window.
functionPlot
that defaults to drawing the
graph in black with one point every 10 pixels horizontally.
functionPlot
that defaults to drawing the
graph with one point every 10 pixels horizontally.
functionPlot
draws a graph of a function.
functionPlot
that defaults to black.
line
that continues drawing from the last point
to be drawn in the graph, continuing using that same color that that point
was drawn in.
line
that continues drawing from the last point
to be drawn in the graph.
line
that defaults to a black line.
line
draws a line in the graph window between two points.
linePlot
that draws the graph across the entire
width of the graph window, using black.
linePlot
that draws the graph across the entire
width of the graph window.
linePlot
that defaults to black.
linePlot
draws a line graph from a set of values stored in
array
.
parametricPlot
that defaults to drawing the
graph in black with a range from 0 to 1 and with fifty points.
parametricPlot
that defaults to drawing the
graph with a range from 0 to 1 and with fifty points.
parametricPlot
that defaults a range from
0 to 1.
parametricPlot
that defaults to drawing the
graph in black with fifty points.
parametricPlot
that defaults to drawing the
graph with fifty points.
parametricPlot
draws a graph in which both x and y
coordinates are functions of a third variable.
parametricPlot
that defaults to black.
parametricPlot
that defaults to drawing the
graph in black with a range from 0 to 1.
functionPlot
commands.point
that defaults to black points.
point
plots a single point in the graph window.
print
that takes a boolean
.
print
that takes a character.
print
that takes an array of characters.
print
that takes a double
.
print
that takes a floating point number.
print
that takes an integer.
print
that takes a long integer.
print
that takes an object.
print
outputs a line of text into the text window.
println
that just moves to a new line.
println
that takes a boolean
.
println
that takes a character.
println
that takes an array of characters.
println
that takes a double
.
println
that takes a floating point number.
println
that takes an integer.
println
that takes a long integer.
println
that takes an object.
println
outputs a line of text into the text window and
then moves to the start of a new line of output.
readln
stops execution of your program, allows the user to
enter some text and then returns that text as a string when they click on
the Input
button in the window.
SciGraph
class is the interface into the JSGL, a Scientific
Graphics Library for Java.showGraph
defaulting to 300 pixels each way.
showGraph
creates and shows a graph window.
showText
which defaults to a window
80 characters wide and 24 characters tall.
showText
creates and shows the text window in which
print
, println
and readln
occur.
stepPlot
that draws the bars in black across
the entire width of the graph window.
stepPlot
that draws the bars across the
entire width of the graph window.
stepPlot
that defaults to black.
stepPlot
draws a bar-chart based on an array of values.
stringOf
converts a floating point number into a
string containing a fixed number of digits.
|
||||||||
PREV NEXT | FRAMES NO FRAMES |