Eliminate coloured lines around bars in a bargraph

1 回表示 (過去 30 日間)
Jamie Shelley
Jamie Shelley 2018 年 4 月 20 日
コメント済み: Jamie Shelley 2018 年 4 月 21 日
When using "bar", I'm getting some strange coloured lines around the bars I'm plotting. I've tried adding "EdgeColor",'k' after the variables being plotted, but this hasn't eliminated the green and red lines that have cover the lower section of my bars.
I haven't managed to find anything on the forum of people having the same problem so I was wondering if anyone knew how to remove these lines?
Thanks
  2 件のコメント
Ahmet Cecen
Ahmet Cecen 2018 年 4 月 20 日
Is this happening only when you save the figure, or do you see it on the MATLAB figure window as well?
Jamie Shelley
Jamie Shelley 2018 年 4 月 21 日
I took the photo directly from the figure window, however, it does also appear when I save the image.

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

採用された回答

Image Analyst
Image Analyst 2018 年 4 月 21 日
You can try 'EdgeColor, 'none'
but if I remember correctly that might have been a bug in the renderer. You could try a different renderer or do a search on this forum - I think someone else has asked this before.
  1 件のコメント
Jamie Shelley
Jamie Shelley 2018 年 4 月 21 日
Thank you, your solution worked! I think you're right regarding a bug in the renderer, as I tried to turn the outlines back to black after removing them and they reappeared with the green and red lines.
Thanks for your help.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by