Results 1 to 3 of 3

Thread: graphing in C

  1. #1
    Join Date
    Jan 2002
    Location
    Brooklyn, NY
    Posts
    2

    Question graphing in C

    Given a series of values of x and y, how can one graph them on an xy plane using C?Given a series of values of x and y, how can one graph them on an xy plane using C?
    MikeL

  2. #2
    Join Date
    Dec 2001
    Location
    Delhi/Bangalore, India
    Posts
    74
    What's the problem with graphing ?

    If you want a simple X-Y graph, just plot points (or draw circles if points are fewer) by using putpixel(axisx+x, axisy-y) or circle() commands. Here "axis" can be half of the total x width or y width of your screen, so that the graph's origin will be centred on the screen.

  3. #3
    Join Date
    Feb 2002
    Posts
    6

    umm no need for hui

    you can make it in text if you make a small graph with ansi chars. hint: use a for loop

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •