How to use fscatter3

1 visualización (últimos 30 días)
SUGURO TSUKASA
SUGURO TSUKASA el 26 de Oct. de 2021
Respondida: Cris LaPierre el 26 de Oct. de 2021
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.

Respuestas (1)

Cris LaPierre
Cris LaPierre el 26 de Oct. de 2021
fscatter3 is not a MathWorks-created function. It is available on the File Exchange.
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

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!

Translated by