필터 지우기
필터 지우기

How make the background of pcshow white instead of black?

조회 수: 58 (최근 30일)
Jared Strader
Jared Strader 2019년 3월 28일
답변: Mohammad Ebrahim Mohammadi 2019년 5월 21일
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?

답변 (2개)

Shunichi Kusano
Shunichi Kusano 2019년 3월 28일
Hi, you also need:
set(gca,'color','w');
  댓글 수: 1
Walter Roberson
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
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');
...

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by