필터 지우기
필터 지우기

How to plot the columns data against the firs column (simulation time) instead of plotting against the serial number?

조회 수: 1 (최근 30일)
I have some data in workspace and I want to plot these data. How to plot the columns data against the firs column (simulation time) instead of plotting against the serial number?

채택된 답변

Harshit
Harshit 2012년 11월 15일
Hi you can just use it
plot(x(:,1),x ,'o')
  댓글 수: 2
salem
salem 2012년 11월 15일
Thanks Harshit for the reply. Actually i want to plot the data saved from scope to workspace in which first colum is time and other colums are data. I am familiar with plot commond. when you open a variable, you can plot by selecting the variable(s) using the plot botton which will take the serial number as x-axis but i want the first colum(which is time) as x-axis and data in y-axis using the plot botton. i don't know is it possible or not?
Walter Roberson
Walter Roberson 2012년 11월 18일
What format is the time column in? What is a typical value, and what does that value represent?

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by