[A83] Plotting Points based on XY coordinates


[Prev][Next][Index][Thread]

[A83] Plotting Points based on XY coordinates



What kind of technique does the TI-IO use for drawing the nitches on the
axis? I'm trying to write a cursor routine that lets you scroll around
the screen while displaying the coordinates.Here's my idea:


Horizontal Pixel Ratio = Xmax-Xmin / 95
Vertical Pixel Ratio = Ymax-Ymin / 95
 
Pixel # = [Xcoordinate - Xmin] / Horizontal Pixel Ratio
 
This pixel # is then a FP number between 0 and 95.right? Should it be
rounded or truncated?
 
Thomas Lutz
Stevens Institute of Technology