C++ Plot Simple Points / Graph, X & Y array points
Hi, I am creating a program and need to plot points to visualise if i have created the program correctly.
For example I have an
int array myX[2]; with elements example 1, 2
int array myY[2]; with elements example 5, 6
so ...
Point1 X and Y is 1,5
Point 2 X and Y is 2,6
i want to plot a simple graph to show roughly what shape the points make for example something that looks like
6| ____P2
5| __P1
4|
3|
2|
1|
0| ___________________
0__1__2__3__4__5
I dont need it to look fancy or anything just a simple thing to visualise the points.
I am not sure how to do this.
Thanks in advance.