Thread: Help Me ! Print a histogram From a file

  1. #1
    Unregistered
    Guest

    Question Help Me ! Print a histogram From a file

    I have facing some problems when I try to print a Histogram .
    I need to wirte a program to print a histogram from pixel value which read from a file " tm.img " . Besides the the program need to show the the average , maksimum and mimimun value . Can somebody teach me ? Thank you for your help .

  2. #2
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    You could save the values to an Excel spreadsheet using the .csv file type and commas ',' as cell divisions.

    Just write a text file called myname.csv and fill with the values seperated by a comma.

    Then use Excel to draw and print the histogram.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  3. #3
    Unregistered
    Guest

    Red face Dear Novacain

    tahnk for your advise , but I'm not allowed using Excel to printout the histogram . I need to print the histogram and count the average , makismum and minimum pixel value by C programming . It is my assigament :<

  4. #4
    Im back! shaik786's Avatar
    Join Date
    Jun 2002
    Location
    Bangalore, India
    Posts
    345
    >It is my assigament
    This might help

  5. #5
    Unregistered
    Guest

    Red face Dear All , Lack of Time

    Who can help me write the program............... ?
    Help me............ I need to submit the program tomorrow .......
    And plus I'm poor in my programming ................
    Where my saviour ? Hurry up.........................

  6. #6
    Unregistered
    Guest

    Unhappy Hurry Up !

    The time is running out ............ Who can help me ?
    Still try to write the program , but can't run .Hurry up !

  7. #7
    Unregistered
    Guest

    Unhappy :<

    No more time...........
    Please ...........

  8. #8
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    You'll get nowhere like that.

    For a start, we don't do homework for people. I don't even do any for myself and haven't for years.

    This is a place where people offer their advice and guide people with their coding. But, help starts at home, you must do some work yourself before anyone will help you.

    If you're having that much trouble, study harder, or change course.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  9. #9
    Unregistered
    Guest

    Lightbulb My spirit support

    Try your Best

  10. #10
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >The time is running out ............ Who can help me ?
    We only help those who help themselves.

    >Still try to write the program , but can't run .
    Well, post your code and the problem you're having. We're not mind readers.

    >Hurry up !
    An emergency on your part does not constitute a crisis on mine. If you want help then ask for it intelligently, perhaps by first reading the smart questions link in my signature.

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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File transfer- the file sometimes not full transferred
    By shu_fei86 in forum C# Programming
    Replies: 13
    Last Post: 03-13-2009, 12:44 PM
  2. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 04:54 PM
  3. Post...
    By maxorator in forum C++ Programming
    Replies: 12
    Last Post: 10-11-2005, 08:39 AM
  4. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  5. simulate Grep command in Unix using C
    By laxmi in forum C Programming
    Replies: 6
    Last Post: 05-10-2002, 04:10 PM