How to use fscatter3
이전 댓글 표시
I am using Google Translate.
I want to use fscatter3 to handle matlab data.
At that time,
function [h] = fscatter3 (X, Y, Z, C, cmap);
What should C in the code apply to?
I thought it was the number of arrays, but it didn't work even if I entered a value.
I would appreciate it if you could tell me how to use it, including the types of characters used in this code.
답변 (1개)
Cris LaPierre
2021년 10월 26일
0 개 추천
From the help for this function, it appears C is an index into the colormap.
% [h] = fscatter3(X,Y,Z,C,cmap);
% Plots point cloud data in cmap color classes and 3 Dimensions,
% much faster and very little memory usage compared to scatter3 !
% X,Y,Z,C are vectors of the same length
% X,Y,Z,C might be put in as structure points.x,points.y,points.z,points.int
% with C being used as index into colormap (can be any values though)
% cmap is optional colourmap to be used
% h are handles to the line objects
카테고리
도움말 센터 및 File Exchange에서 Blue에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!