how to change the plot background?
조회 수: 4 (최근 30일)
이전 댓글 표시
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/592485/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/592490/image.png)
I want to show the background of the plot above like the plot below.
This is the code for each.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/592495/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/592500/image.png)
댓글 수: 0
답변 (1개)
Constantino Carlos Reyes-Aldasoro
2021년 5월 4일
Most probably the first figure you are showing is and RGB (type "whos" and look for the dimensions it should be rows x columns x 3) and that is why it is not appearing with the colour map. The second image is just intensity based (rows x columns). If you check that then we can follow and display as you want.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!