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!