plotting a graph

This is a discussion on plotting a graph within the C Programming forums, part of the General Programming Boards category; Is there a way to plot points on the screen in a unix/linux C program? I would like to incorporate ...

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    4

    plotting a graph

    Is there a way to plot points on the screen in a unix/linux C program? I would like to incorporate it in a program I'm making to model a susension bridge's cable profile. I use the gcc compiler. Thanks for you help!

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    The simplest way I can see it is to use curses and '*' as each point, otherwise you'll have to get into some actual graphical programming.

    -Prelude
    My best code is written with the delete key.

  3. #3
    Registered User
    Join Date
    May 2002
    Posts
    4
    how do I learn to do graphical programming in C?

  4. #4
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,493
    C doesn't have one form of graphical programming. 99% of all modern graphical programming is done with an api (a set of functions to do stuff). get SDL or Allegro and read about it.

  5. #5
    AAJ
    AAJ is offline
    Registered User
    Join Date
    Sep 2009
    Posts
    1
    i'm using code block as c compiler..can this be use to plot a xy graph? is there anyway to plot graph using c?

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, 08:07 PM
  3. graph plotting
    By wayne in forum C++ Programming
    Replies: 3
    Last Post: 05-25-2005, 02:47 AM
  4. determining a path through the graph
    By Mist in forum C Programming
    Replies: 2
    Last Post: 02-27-2005, 11:21 AM
  5. Minimize crossing edges in undirected graph
    By Shiro in forum C Programming
    Replies: 0
    Last Post: 12-26-2001, 03:48 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21