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

조회 수: 11 (최근 30일)
SAtsimran Singh
SAtsimran Singh 2015년 1월 26일
답변: Kush 2023년 6월 30일
How can i draw a graph with 3 axis and add in a time variable in matlab?

답변 (1개)

Kush
Kush 2023년 6월 30일
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.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by