필터 지우기
필터 지우기

How to change xlabel on contour

조회 수: 19 (최근 30일)
Mr noobys
Mr noobys 2019년 6월 25일
답변: Santanu Roy 2020년 12월 3일
Hi guys
so i have a plot contour from matrix. the x axis of the contour is time sample. i want to change it to second. how to do it?
im using this code but didnt work
dt=1/fs
ts=0:dt:(length(data)*dt)-dt;
contour(wt,ts);
untitled.jpg

답변 (1개)

Santanu Roy
Santanu Roy 2020년 12월 3일
dt=1/fs
ts=0:dt:(length(data)*dt)-dt;
contour(wt,ts);
Just add this line after the plot line.
xlabel("second");

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by