PLOT4

Plot colored lines and points in 3-D space

現在この提出コンテンツをフォロー中です。

PLOT4 Plot colored lines and points in 3-D space

PLOT3(x,y,z,c), where x, y, z and c are four vectors of the same length N, plots a line in 3-space through the points whose coordinates are the elements of x, y and z, colored according to the values in c. The line consists of N-1 line segments.

Various line types, plot symbols and colors may be obtained with PLOT3(X,Y,Z,s) where s is a 1, 2 or 3 character string made from the characters listed under the PLOT command.

Example: A helix:

t = 0:pi/50:4*pi;
plot4(sin(t),cos(t),t.^2,t,'.-');

PLOT4 returns a column vector of handles to lineseries objects, one handle per line segment.

See also plot, plot3, line, axis, view, mesh, surf.

引用

Christophe Lauwerys (2026). PLOT4 (https://jp.mathworks.com/matlabcentral/fileexchange/10481-plot4), MATLAB Central File Exchange. に取得済み.

カテゴリ

Help Center および MATLAB AnswersData Exploration についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0