How do I plot YY from the excel file data?

조회 수: 1 (최근 30일)
Ashvinder Singh Gill Surmaish Singh Gill
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
편집: Ashvinder Singh Gill Surmaish Singh Gill 2020년 5월 13일
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.
Ashvinder Singh Gill Surmaish Singh Gill
Hello, Can you assist in this please? I am still stuck.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by