Colormap appears darker on another plot, how to change that ?
이전 댓글 표시
I am plotting states of a solution at different times, and to visualise the solution I added a colormap that depends on the x position. I also superposed a sphere to help visualise the 3D plot. I should note that in order to color the plots, I used the patch function. Unfortunately, the 3D plot appears much darker than the energy plot (see the figures). I put two figures to show that the colormap still had some influence on the 3D plot the parameters for the plot of the sphere are :
'FaceColor' = [0.99, 0.99, 0.99];
alpha 0.07;
The two figures (at no point I can see colors as bright as at x=0 on the 3D-plot) :

Thank you for your time !
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Color and Styling에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!