| | |
Predefined Graph function........
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
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 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.
<?php
$data = $_POST['data'];
if(empty($data)) {
echo "byte me" ; }
?>
$data = $_POST['data'];
if(empty($data)) {
echo "byte me" ; }
?>
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
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.
the underneath is the link from where i copied libraries
http://codecutter.org/tools/koolplot/
the error i got is something like this
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.
the underneath is the link from where i copied libraries
http://codecutter.org/tools/koolplot/
the error i got is something like this
C++ Syntax (Toggle Plain Text)
graph.cpp||undefined reference to `Plotdata::Plotdata(double, double)'| graph.cpp||undefined reference to `plot(Plotdata const&, Plotdata const&)'| graph.cpp||undefined reference to `COLOR'| graph.cpp||undefined reference to `COLOR'| graph.cpp||undefined reference to `COLOR'| graph.cpp||undefined reference to `COLOR'| graph.cpp||undefined reference to `COLOR'| graph.cpp||more undefined references to `COLOR' follow| ||=== Build finished: 8 errors, 0 warnings ===|
<?php
$data = $_POST['data'];
if(empty($data)) {
echo "byte me" ; }
?>
$data = $_POST['data'];
if(empty($data)) {
echo "byte me" ; }
?>
![]() |
Other Threads in the C++ Forum
- Previous Thread: compiling allegro
- Next Thread: question about programing pratice with a large array
| Thread Tools | Search this Thread |
api array beginner binary bitmap c++ c/c++ calculator char char* class classes coding compile compiler console conversion convert count data database delete desktop developer directshow dll dynamic dynamiccharacterarray email encryption error file forms fstream function functions game getline google graph homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg sorting string strings struct template templates test text tree unix url vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






