Results 1 to 2 of 2

Thread: Read the data from text file and plot in visual basic

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2011
    Posts
    16

    Read the data from text file and plot in visual basic

    I have a dataset in the following format :

    Code:
    Station1	98.0	76.5
    4	8/19/2010 00:10 AM
    	0	1	2	3	
    	38.6	38.5	38.3	38	
    5	8/19/2010 10:33 AM
    	0	1	2	3	4	
    	39.7	39.7	39.6	39.6	39.5	
    6	9/15/2010 8:30 AM
    	0	1	2	3	4	5
    	37.4	37.5	37.4	37.4	37.3	37.2
    5	9/15/2010 12:15 PM
    	0	1	2	3	4	
    	40.3	40.3	40.3	40.3	40.2
    5	9/15/2010 18:25 PM
    	0	1	2	3	4	
    	40.9	40.9	40.9	40.9	40.9
    The above data is temperature profile. The first line shows the station name and coordinates of that station.

    I am concerned about second line. I have data for 5 time periods in the above data.

    The first line after the time is the depth at different heights (i.e from 0 to upto 5) and the second line is corresponding temperature.

    I want to read the data such that I want to store the date and heights and temperature for each data set. So, basically I want to be able to store these data for each time.

    Name:  temp_profile.png
Views: 1325
Size:  141.6 KB

    Later I want to use the stored data to plot profiles. On the legend I want the time and the x-axis would be temperature and my y-axis would be temperature. I want to use a numeric up down button to change from one time to another in the plot window.


    Btw, I am a beginner in VB.net.
    Thank you for any advice.

    Regards,
    Jdbaba
    Last edited by jdbaba; Mar 4th, 2014 at 11:32 PM.

Tags for this Thread

Posting Permissions

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



Click Here to Expand Forum to Full Width