How make the background of pcshow white instead of black?
45 次查看(过去 30 天)
显示 更早的评论
If I use pcshow in MATLAB R2019a, the background is black. How do I make it the standard color? I tried using:
set(gcf,'color','w');
but the figure background is only affected and not the plot background. I don't think the default was black with previous versions of MATLAB for pcshow. Any suggestion?
0 个评论
回答(2 个)
Shunichi Kusano
2019-3-28
Hi, you also need:
set(gca,'color','w');
1 个评论
Walter Roberson
2019-3-28
If you do this, then the axes itself comes out odd, hardly visible. You may wish to also
set(gca, 'XColor', [0.15 0.15 0.15], 'YColor', [0.15 0.15 0.15], 'ZColor', [0.15 0.15 0.15])
Mohammad Ebrahim Mohammadi
2019-5-21
To address this matter in MATLAB 2019a you need to add the following codes after each PCSHOW command. see the below:
...
pntClouddata=pointCloud(data);
pcshow(pntClouddata);
set(gcf,'color','w');
set(gca,'color','w');
...
0 个评论
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!