Colormap appears darker on another plot, how to change that ?
Show older comments
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 !
Accepted Answer
More Answers (0)
Categories
Find more on Color and Styling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!