How to use fscatter3
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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.
0 comentarios
Respuestas (1)
Cris LaPierre
el 26 de Oct. de 2021
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
0 comentarios
Ver también
Categorías
Más información sobre Point Cloud Processing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!