Colour intensity of images

2 ビュー (過去 30 日間)
muhammad ahmad
muhammad ahmad 2019 年 3 月 2 日
コメント済み: Image Analyst 2019 年 3 月 2 日
I have following graph.
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 件のコメント
Image Analyst
Image Analyst 2019 年 3 月 2 日
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?
muhammad ahmad
muhammad ahmad 2019 年 3 月 2 日
Well I have data of accumulated reward for 2300 episodes that is random while red line is averaged data plotted angaist random data what i want i want to plot both in same colur but with different intensity

サインインしてコメントする。

回答 (2 件)

Image Analyst
Image Analyst 2019 年 3 月 2 日
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);

muhammad ahmad
muhammad ahmad 2019 年 3 月 2 日
I am using plot([x,y]) command how to adjust colour in this command
  1 件のコメント
Image Analyst
Image Analyst 2019 年 3 月 2 日
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.

サインインしてコメントする。

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by