Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Code for Plotting 2D graphs

  1. #1
    Junior Member
    Join Date
    Jun 2012
    Thanked 0 Times in 0 Posts

    Default Code for Plotting 2D graphs

    Hello everyone,
    I am sending data to my computer serially/using USB, I want to know if I can use java to collect that data and plot it vs time. I think plotting can be done but I don't know whether I can collect that data or not !!
    Your help will be appreciated.

  2. #2
    Super Moderator Sean4u's Avatar
    Join Date
    Jul 2011
    Tavistock, UK
    Thanked 103 Times in 93 Posts

    Default Re: Code for Plotting 2D graphs

    You can connect Java via USB / serial, but you might need to give up any hope of "Write Once Run Anywhere". I wrote a little helper in Java for a bad oscilloscope I bought once here:
    gds2062 - gds2062 - Java utility for commanding Instek GDS-2062 oscilloscope, and viewing sample buffer. - Java utility to communicate with GW Instek GDS-2062 oscilloscope - Google Project Hosting
    That was connected via a USB cable but the endpoint appeared as a 'cable modem' I think.

Similar Threads

  1. Help with plotting x-y coordinates.
    By mixmagz in forum Object Oriented Programming
    Replies: 5
    Last Post: January 23rd, 2012, 09:41 AM
  2. ArrayList Plotting Points
    By basketball8533 in forum Collections and Generics
    Replies: 1
    Last Post: October 18th, 2011, 03:59 PM
  3. I like plotting points :) HI!
    By fractalorbit in forum Member Introductions
    Replies: 1
    Last Post: September 5th, 2011, 10:49 AM
  4. DFS in Graphs
    By antislayer in forum What's Wrong With My Code?
    Replies: 2
    Last Post: April 26th, 2011, 09:01 AM
  5. Plotting w/JFreeCharts
    By Javajava in forum What's Wrong With My Code?
    Replies: 0
    Last Post: May 12th, 2010, 10:02 AM