フィルターのクリア

How to manually set axis and Label for colorcloud funktion?

1 回表示 (過去 30 日間)
Dominic Wiehl
Dominic Wiehl 2023 年 2 月 2 日
回答済み: Raghvi 2023 年 2 月 16 日
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!

回答 (1 件)

Raghvi
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.

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by