Results 1 to 4 of 4
  1. #1
    Manfizy's Avatar
    Manfizy is offline Senior Member
    Join Date
    Nov 2008
    Location
    Germany
    Posts
    193
    Rep Power
    6

    Post How to plot a dot graph

    Hi people,i have a program that reads data from a file and use the same data from the file to plot a graph.Have been able to create the file,write&read data from it but i dont know how to do the graphs using the same data.Anyone who has an idea on how to go about it??
    My data looks as follows:
    Time Power Level
    0 0.2
    5 0.6
    10 0.9
    15 0.6
    20 0.12
    25 0.16
    30 0.23
    35 0.20
    40 0.26
    45 0.28
    50 0.28
    55 0.30
    60 0.31
    65 0.34
    70 0.36
    75 0.40
    80 0.49
    85 0.47
    90 0.47
    95 0.50
    100 0.53
    Last edited by Manfizy; 01-28-2009 at 12:29 PM.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,184
    Rep Power
    19

  3. #3
    Manfizy's Avatar
    Manfizy is offline Senior Member
    Join Date
    Nov 2008
    Location
    Germany
    Posts
    193
    Rep Power
    6

    Default

    Thanks for kind response.I have read the refence but i cannot put it all together.Could you please give me a small example so that i get and idea of where to start.Am using netbeans and i already created the GUI.All i need now if to use this data and plot a graph on the JPanel i already created

  4. #4
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    7

    Default look for other posts...

    Does this help?

    How to plot graph in java for given samples

    Luck,
    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

Similar Threads

  1. ECG plot in a textfile
    By samson in forum Java 2D
    Replies: 13
    Last Post: 01-28-2012, 04:02 PM
  2. How to plot graph in java for given samples
    By annesteve31 in forum New To Java
    Replies: 27
    Last Post: 11-29-2009, 09:27 PM
  3. Plot 2D graph in Java from RS-232 data
    By spratana in forum Java 2D
    Replies: 4
    Last Post: 02-11-2009, 06:49 PM
  4. Bar Graph
    By Zosden in forum Advanced Java
    Replies: 2
    Last Post: 04-28-2008, 06:52 AM
  5. Need Help for Dot Plot Graph
    By BHCluster in forum Java 2D
    Replies: 5
    Last Post: 04-15-2008, 02:54 PM

Posting Permissions

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