How to change xlabel on contour

15 visualizaciones (últimos 30 días)
Mr noobys
Mr noobys el 25 de Jun. de 2019
Respondida: Santanu Roy el 3 de Dic. de 2020
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

Respuestas (1)

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

Categorías

Más información sobre Contour Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by