Thread: graph, curve, plot data

  1. #1
    Registered User
    Join Date
    Apr 2011
    Posts
    2

    graph, curve, plot data

    hi ive been trying to get some info on making a graph program.

    id like some help

    i want to make a program which is very similar to the curve programs found in paint dot net or others .

    here they have a graph which can display 3 plot lines.

    r,g,b

    these can be tuned by draging the lines to desired points.

    on a 256 x 256 graph

    the deal here is that the r,g,b values change from input to output

    i would like to make some thing like this in c and then display the results in a table giving 256 x 3 in what ever order

    and allow me to send them to be written at desired location

    can anyone help me out with this libarys in need and calls made for table data

    i could do with a fair bit of help so someone withg some dedication would be great although all help apopreciated thanx

  2. #2
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,907
    It sounds like you're really new to programming, or at least to C. Why don't you start at the beginning? You're jumping into a relatively difficult project, especially dealing with mouse input and graphics. We have some tutorials here, and you can Google for more. You can also find some book recommendations here. Work your way from the very first lesson until you know everything you'll need (hint: if/else, loops, arrays, functions, pointers, probably dynamic memory).

    Also, there is no standard C graphics libraries. It's totally system dependent, so we would need to know what OS you're on at the very least, before we can recommend anything.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to plot a graph using C
    By Katie_lin in forum C Programming
    Replies: 5
    Last Post: 04-07-2009, 02:38 PM
  2. trying to implement graph(data structure)
    By creeping death in forum C Programming
    Replies: 2
    Last Post: 10-15-2008, 01:10 AM
  3. problem with plot a linear graph on the command line
    By dionys in forum C Programming
    Replies: 5
    Last Post: 04-17-2004, 07:01 AM
  4. plot a graph on the screen
    By dionys in forum C Programming
    Replies: 4
    Last Post: 04-15-2004, 02:46 PM
  5. get the data and plot the graph
    By lwong in forum Windows Programming
    Replies: 3
    Last Post: 01-01-2004, 09:00 AM

Tags for this Thread