I'm trying to plot a graph using koolplot, but nothing happens when I try to run the program. Anybody here knows how to use koolplot?


Here's the code:
Code:
#include <koolplot.h>
#include <stdio.h>

void graph(double g);

int main()
{
	 double a = 5.5, b = 2.5, gh;
	 
	 gh = a / b;
     
	 graph(gh);	

         return 0;
}



void graph(double g)
{
	plotdata x(-10, 10);
	plotdata y = g;
	plot(x,y);
}
Any help would be much appreciated, thanks!