How do I plot YY from the excel file data?

1 次查看(过去 30 天)
I have data for different factors 1.4, 1.6 and 2.2. How do I plot YY for force reaction and keeping x-axis as displacement on the same chart? The pattern should be as shown in the figure but with yy plot so that the results are more visible.
Appreciate if anyone can assist me. Thank you!

采纳的回答

KSSV
KSSV 2020-5-12
data = xlsread("Sample Excel Data.xlsx") ;
A = data(:,[1 3 5]) ; % pick 1, 3 , 5 column
K = A(1,:) ; % factors
A(1,:) = [] ;
plot(A)
  14 个评论
Ashvinder Singh Gill Surmaish Singh Gill
That is the line of code that I am using to plot that curve, can you assist me on how can i get scatter with smooth lines please? Note i renamed my excel file, thus the naming is different.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Two y-axis 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by