Legend giving different colour
Show older comments
I have attached pictures of my problem, as you can see i am plotting 4 lines (which are cells) of colour, yellow, red, green and black. The plotting isnt the issue, but the legend gives all the same colour (yellow)

which makes it hard to distinguish. Can someone help me?
3 Comments
Saurabh Sakpal
on 30 Aug 2015
Walter Roberson
on 30 Aug 2015
Are you using R2014b or later, or are you using R2014a or earlier? The behavior of "hold on" changed in R2014b so we need to know which of the two situations we are dealing with.
Saurabh Sakpal
on 30 Aug 2015
Accepted Answer
More Answers (0)
Categories
Find more on Creating, Deleting, and Querying Graphics Objects 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!

