SME
Engineering Programming (MATLAB/Python) · Problem type
Read and plot a data file
Use this for “Put the steps in order to plot load against extension from a test machine’s CSV file.”
Put in order
Put the steps in order, from opening the file.
1
?
2
?
3
?
4
?
5
?
6
?
Assumptions
•
MATLAB reads a table with readtable; Python with pandas’ readcsv, then plots with Matplotlib.
•
Clean and convert before plotting, so the figure shows the numbers the formulas use.
•
Axis labels carry units: “Load (kN)”, not “Load”.
Topic check
See what you know: 5 questions on this topic
New questions each time. Pass to mark it complete.
Related lessons
Plotting and data import
Main lesson
Exponential rate from two points on a semilog plot
Use this for “Data points (0, 5) and (4, 20) lie on a straight line on semilog axes. Find k in y = y₀ekx.”
Which axes make the data straight
Use this for “Should data from y = 3e0.5x go on plain, semilog or log–log axes?”