Parse error: syntax error, unexpected '<' in /home/vintagec/public_html/vcforum/archive/index.php(475) : eval()'d code on line 1
Plotting Routine Library [Archive] - The Vintage Computer Forums

PDA

View Full Version : Plotting Routine Library


ziloo
September 2nd, 2006, 08:47 AM
Greetings All,

I have been developing a program in Turbo C, and I am reading a data file
that is to be plotted as an X versus Y graph on the screen. Does any of you
folks know about a simple plotting routine library with graphics primitives such
as axis, data point, data label and so on? There are commercial plotting
softwares available, but I need to have the plotting commands within the
Turbo C program that I am developing (under DOS).

Thanks for any info

mbbrutman
September 2nd, 2006, 09:09 AM
Turbo C has a graphics library, but it will let you draw primitive objects. To do a graph you need to write some code.

Here's a pointer to an intro article: http://electrosofts.com/cgraphics/

ziloo
September 2nd, 2006, 09:26 AM
Thank you Mike!

I am familiar with Turbo C graphics capabilities, but I was too lazy to develope
the routines myself! I have found some libraries (public domain) on the net,
but some are just too extenxive to be practial and some other are in languages
other than C.

carlsson
September 2nd, 2006, 01:03 PM
The axis probably are just straight lines, and the data points are individual dots? In that case, only the labels remain to plot into place. Or do you require to draw a line between the data points or even a smooth curve?

ziloo
September 4th, 2006, 05:09 AM
Hello Carlsson,

I originally started thinking about a simple plotting program for axis and
data points, but then I realized that I might need several new features
that would require a more extensive library. I guess I have to write the
routines myself.