How to manually set axis and Label for colorcloud funktion?
1 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(1 个)
Raghvi
2023-2-16
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Read, Write, and Modify Image 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!