How to manually set axis and Label for colorcloud funktion?

1 visualización (últimos 30 días)
Dominic Wiehl
Dominic Wiehl el 2 de Feb. de 2023
Respondida: Raghvi el 16 de Feb. de 2023
Helo everyone! I'm new to MatLab and recently I was working with the colorcloud funktion. I was trying to generate a 'HSV' point cloud figure to analyze saturation and hue shift between images (and also to have a nice visual representation). I am viewing the image from above, so on the X and Y axis. Now I realised that the cone is made up of 8 axis instead of 6 for (R,G,B,Cy,My,Ye). So I was wondering if there is a way to manipulate the axis of the HSV cone to achive the representation I got in the image I provided here (maybe also with labels)
Thank you very much in advance!

Respuestas (1)

Raghvi
Raghvi el 16 de Feb. de 2023
Hey Dominic,
You can access different properties of axes by using the following commands and changing them as per your need. The following code shows how to change the perspective of the colorcloud to get the top view.
>> x=colorcloud(RGB,'hsv');
>> x.Children.CameraPosition=[0 0 8];
Likewise, you can change other properties to get the labels you desire. Check out the properties of axes :
If you are not so comfortable with code, you can also play with property inspecter in the figure window.

Categorías

Más información sobre Read, Write, and Modify Image 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