Thread: Koolplot 2d Graph, how to use it???

  1. #1
    Mistake is a way to learn
    Join Date
    Sep 2006
    Location
    Malaysia
    Posts
    11

    Unhappy Koolplot 2d Graph, how to use it???

    Hi everyone. I'm new user in this forum and also newbie on C Programming. Right now, i am using Quincy 2005. I want to know wether there is somebody can help to teach me on using koolplot graph?? I really need to know that... Can somebody help me??
    Especially on drawing multiple graph in one screen...

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    What have you managed to figure out so far from reading the manual pages and trying some examples.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Mistake is a way to learn
    Join Date
    Sep 2006
    Location
    Malaysia
    Posts
    11
    I've read the manual there, and i figured that we need to use breakplot(a,b) to unlink several graph, and also how to insert new graph inside the koolplot. I also looked at some examples there. But there is one big problem with it. The examples won't run in the compiler! That's why i'm stuck here. Can somebody help me??

  4. #4
    Mistake is a way to learn
    Join Date
    Sep 2006
    Location
    Malaysia
    Posts
    11
    Oh yeah, this is the example source code.
    Code:
    #include <koolplot.h>
    
    int main()
    {
    	plotdata x (-315.0,45.0), y = sin ( x * 3.14 / 180), z = cos (x * 3.14 / 180);
    	breakplot (x,y);
    	x << x;
    	y << z;
    	plot (x,y);
                 return 0;
    }
    actually, when i compile it, it says succesfully build. But there is no graph poping up. Am i making some mistakes here?
    Last edited by jofrisutanto; 09-09-2006 at 07:28 AM.

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    I dunno what you're hoping to achieve with x << x
    It wasn't hard to find examples, why not start with those.
    http://codecutter.org/tools/koolplot/
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  6. #6
    Mistake is a way to learn
    Join Date
    Sep 2006
    Location
    Malaysia
    Posts
    11
    Hey, thanks.
    I've solved my problems now.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. error help making no sense
    By tunerfreak in forum C++ Programming
    Replies: 5
    Last Post: 04-17-2007, 07:55 PM
  2. Plotting a graph with Koolplot
    By Router in forum C Programming
    Replies: 13
    Last Post: 11-05-2006, 09:07 PM
  3. Replies: 16
    Last Post: 09-22-2006, 03:39 PM
  4. determining a path through the graph
    By Mist in forum C Programming
    Replies: 2
    Last Post: 02-27-2005, 12:21 PM
  5. Minimize crossing edges in undirected graph
    By Shiro in forum C Programming
    Replies: 0
    Last Post: 12-26-2001, 04:48 AM