i am working on my project which is on regeression of lines .
well i have been successful in fitting a straight line to the given set of coordinates . since i have come so far after a lot of striving , i have been a bit exhausted on writing a graphic function of plotting the co - ordinates and displaying a graph.
Well is there any function or header file which will directly plot a graph if i provide a given set of co - ordinates.
well i am willing to install any libraries.. n working on minGW compiler.
n working on windows , its kinda not possible to change the platform .. but in the worst case that can be considered.....
Would 80x25 on a terminal be good enough resolution?
Graphics of any kind come with baggage. There is no "Just draw a line".
Actually, that's not entirely true.
If you want to use your browser to do some of the work, then outputting a simple SVG file could do the job. http://www.w3.org/TR/SVGTiny12/paths.html
Last edited by Salem; May 3rd, 2009 at 4:52 pm. Reason: SVG
dude i think you havent undestood me .......
i just need some simple fuction which will plot the graph for me when i inout the co ordinates, thats all . there is no complication in it.
i got a link and copied those libraries , but its giving me an error.
Did you know that before my last reply?
Cos playing guessing games sucks.
> gcc.exe -mwindows -o aplot.exe aplot.o -lkoolplot
> -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32 -lstdc++ -lsupc++
What you have are linker error messages.
My guess is you need
-lkoolplot
somewhere.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.