필터 지우기
필터 지우기

specify plot point using plot3

조회 수: 1 (최근 30일)
Amir Hamzah UTeM
Amir Hamzah UTeM 2011년 5월 1일
let say i have 3 matrix x,y,z that has same size of 480x632. the question is,how to using plot3 (3D line plot) that only plot every 10th data point in both row and column for each matrix?

답변 (1개)

Walter Roberson
Walter Roberson 2011년 5월 1일
plot3(x(1:10:end,1:10:end),y(1:10:end,1:10:end),z(1:10:end,1:10:end),'o')
Plotting Data Points with No Line
If you specify a marker, but not a line style, only the markers are plotted. For example:
plot(x,y,'d')

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by