Colour intensity of images
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have following graph.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/206496/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/206496/image.png)
I want to adjust colour settings as random line has low intensity of same colour as the averaged line. How can I code it?
2 commentaires
Image Analyst
le 2 Mar 2019
I do not understand the question. Please explain better. What is "Reward per Episode" and "Number of Episodes"?
What does the averaged line and noisy signal represent?
Color settings of WHAT? Same color as WHAT?
Réponses (2)
Image Analyst
le 2 Mar 2019
Try this:
brightBlue = [0,0,1]; % High intensity
darkBlue = brightBlue / 2; % Low intensity is half as bright.
plot(x, y, 'Color', brightBlue);
hold on;
plot(x, smoothed_y, 'Color', darkBlue, 'LineWidth', 2);
0 commentaires
muhammad ahmad
le 2 Mar 2019
1 commentaire
Image Analyst
le 2 Mar 2019
This is not an answer.
I did give an answer though in my Answer just above. Is there anything wrong with it? If so, say what is wrong with it.
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!