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];
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 !