plotd.plot

High level interface to the plotting library

Members

Classes

PlotState
class PlotState

Class that holds all state to do with one figure

Functions

createPlotState
PlotState createPlotState(Bounds plotBounds, Bounds marginBounds)

Instantiate a new plot

draw
void draw(Point point, PlotState plot)

Draw point on the plot

drawFunction
CONTEXT drawFunction(double delegate(double) func, Bounds bounds, CONTEXT context)

Draw function on our plot

drawFunction
void drawFunction(double delegate(double) func, PlotState plot)

Draw function on our plot

drawRange
void drawRange(RANGE range, PlotState plot)

Draw a range of points as a line

save
void save(PlotState plot, string name)

Save plot to a file

Meta