Non-numeric x-axis vs numeric y-axis scatter plot data (read from excel spreadsheet)

10 次查看(过去 30 天)
Hello,
I need to scatter plot y-axis values that I have collected for 4P, 8P and 12P conditions in my excel spreadsheet. However, the corresponding x-axis values (CASE 1, CASE 2, CASE 3, CASE 4, CASE 5, CASE 6, and CASE 7) have to be non-numerical and set in a clear range to be clearly visible in the plot. In other words, 4P, 8P and 12P values for each CASE should be on top of each other on the same x-axis and there should be 7 CASES on the x-axis. I could not figure it out, Matlab only recognizes numerical data from the excel.
This is just a shortened example, real data is a bit complicated.
I would appreciate if anyone can help.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import from MATLAB 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by