The Tandy CPG115 plotter had the X command to help plots axis
/* * The tandy plotter * X axis,step,interval where interval is number ticks * if axis 0 - vertical * if axis 1 - horizontal * * If you want the graph centered, would be best to work out from the middle. */ The axis need to help annotate the plotted data. Have 10 ticks, where the step is scaled to dataRange / 10 If you want the graph centered, It would be best to work out from the middle. The axis need labels in data Units, not Device units. labelScale = deviceUnits / dataUnits
if you have a black and white plot with one pen thickness, using a axis and ticks reduces the clutter
Doing things the obvious way is not best. If you plot [from , to , step ] make sure step is adjusted so it goes in the intended direction. If tick is an odd number plot a tick either side of the axis. /* * ---+------+------+--- * end now end */