I have a scatter plot with x and y vector's as my data. I have colored using another 1D vector z which has the same number of rows as x and y. Now I would like to get the RGB values of the corresponding colors from the CData scalar values.
MATLAB: How to retrieve the RGB data of a scatter plot from the CData values(a 1D vector corresponding to the array lengths X and Y)
scatter plot colormap color
Related Question
- Putting a plot as different slices on an axis
- Is there MATLAB function allow the colorbar to (white -> black) on the unform coloriation from multi-plots
- How to use multiple colormaps in a single figure in R2014a and earlier
- Does “lab2rgb” use the Bradford chromatic adaptation matrix
- How to convert uint8 to rgb image in MATLAB r2018b
- Error using image Error using image TrueColor – How to plot images created by joining arrays instead of using imread
Best Answer