Consolemenu item pops up a console which will execute Python code interactivly in Plotter's user namespace. You can use the console to define Python functions and variables that you want to be accessible from your Plotter functions, and to control all aspects of Plotter using the
plottermodules are imported to give you access to Python's mathematical functions and to the Plotter control functions. Setup code is saved when you save a file, and executed when you load one.
plottermodule to do things like setting the axes and plotting functions. So, to extend Plotter, you can just edit and add to these scripts.
plottermodule provides the interface between user scripts and the Plotter application. It's functions allow you to control all aspects of Plotter in an extensible way. This module is imported by default into all scripts saved from Plotter, and it is what is used to load and save sets of graphs.
plot(function, [colour, [doredraw]])
functionshould be a string e.g.
'y = sin(x)',
'r = 3*sin(3*t)'or
'x, y = sin(t), cos(t)'.
colour is a string describing the colour to be used
to plot this function: either a descriptive name such as
'red', or a hexadecimal triplet of the form
'#rrrrggggbbbb'. If no colour is specified, then red is used.
doredraw is a boolean argument specifying
whether the graph should be redrawn. The default is true, so
this parameter can generally be omitted.
filenameand execute the commands that it contains.
set_x_axis(min, max, pitch, [axis, [ticks, [labels]]])
pitch(interval between tick-marks) for the x-axis - these should all be floating point numbers, with
max. Optionally, the last three boolean arguments set the visibility of the axis, tick-marks and labels. This function redraws the display after the changes have been made.
set_y_axis(min, max, pitch, [axis, [ticks, [labels]]])
set_t(min, max, number)
numberis the number of points to plot for each function. This function redraws the display after the changes have been made.