Plotting a curve from 2 excel columns
Show older comments
I have two imported columns from Excel, the first one contains the time in HH:MM:SS Format in which the values in the second column were saved. I want to plot the columns against each other and form a curve with the time on the x-axis and the values on the y-axis, but I only get a figure with lines. Is there any code line that I can use to reshape the plotted line into a curve?
3 Comments
Jon
on 28 Aug 2020
Please include your code. You can use the code button in the MATLAB answers menu bar to format it nicely.
Utkarsh Belwal
on 31 Aug 2020
Please share your code or data points which you are trying to plot.
Utkarsh Belwal
on 31 Aug 2020
Thanks for sharing the code. I can't find anything wrong with the code so if possible can you share the Excel files that you are using, that would be really helpful.
Accepted Answer
More Answers (0)
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!