How can I plot a similar graph like below in MATLAB using txt file

1 view (last 30 days)

Accepted Answer

Walter Roberson
Walter Roberson on 22 May 2022
data = readmatrix('test1.txt');
plot(data(:,1), data(:,2:4));
legend({'Fx [kN]', 'Fy[kN]', 'Fz [kN]'})

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!