04-20-2017 11:34 PM
i have data saved in a text file (2 columns and 8 milion row) and i want read the data from text file and display on graph.
if it possoble? and how i do ?
04-21-2017 12:00 AM
yes its quite possible, go through File I/O Functions and see how the data can be read from text file and frame an array.
Use the Array of data to display on graph.
04-21-2017 12:39 AM
8 million? damn
04-21-2017 11:28 AM
thenq you on comment, i am begginer and how to that?
you have some guide?
04-23-2017 12:02 PM
Unless you have a display that is 8 million pixels wide, you won't be able to show all data at once, of course. What is the datatype?
You might need to be careful to not run out of memory. What's the size of the file in MB? Scanning such a large file into an array of DBL at once might be expensive in terms of memory use and CPU.
What do the two columns represent?
What have you tried based on the earlier suggestions? Where did you get stuck? Please attach a typical data file (just with much fewer rows!) so we can see what you have. What is the column delimiter? What is the decimal delimiter? What does the data represent?
04-23-2017 12:29 PM
To add to the previous comments reading that much data from a text file and format it to be displayed will also take a very long time to process (probably minutes). You have to be very careful that the user interface don't become irresponsive. A binary format would be better suited and do you really need 8 million points?
Ben64