Azzera filtri
Azzera filtri

3D(x,y,z) + Time variable to plot graph

2 visualizzazioni (ultimi 30 giorni)
SAtsimran Singh
SAtsimran Singh il 26 Gen 2015
Risposto: Kush il 30 Giu 2023
How can i draw a graph with 3 axis and add in a time variable in matlab?

Risposte (1)

Kush
Kush il 30 Giu 2023
The following functions can help you implement your code:-
plot3 : used to plot a set of coordinates connected by line segments, specify X, Y, and Z as vectors of the same length.
datetick : labels the tick lines of the axis specified by tickaxis using dates, replacing the default numeric labels. datetick selects a label format based on the minimum and maximum limits of the specified axis. The axis data values should be serial date numbers, as returned by the datenum function.

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by