function for plotting graphs of huge data as input

Hi,
Im trying to build a function that's getting as input ( f1.txt , f2.txt , f3.txt , f4.txt ) , f1/f2/f3/f4 txt files are having only integer value but it's huge data .... , I want my function to assigne values of f1.txt as X axis and f2/f3/f4 txt files as Y axis , then the output of this function is to plot a graph (x,y) of those data which y axis is the values of f2/f3/f4 txt files (if I would imagine the output I shall see there graphs/lines under same X axis ).
Any help please how do I implement that?
thanks much

3 Comments

The basic approach would be to read the data (you could use readmatrix) into arrays and then use plot.
How huge is your data exactly?
@Dyuman its 1g each f.txt file.
So please how do I read them and implement the function to output the demanded graph?
can you zip one file and share it ?

Sign in to comment.

Answers (0)

Categories

Asked:

on 24 May 2023

Commented:

on 25 May 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!