Info

This question is closed. Reopen it to edit or answer.

Edit area graph legend data

2 views (last 30 days)
Barbab
Barbab on 29 Apr 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
I have this area graph:
As you could see the legend refers to the x-axis data. How can I display the legend referring to the y-axis data (should be 104 data point not 50)?
Is there a better way to automatically change data colours? If I did not change Facecolor, different data are displayed with the same same colour.
Thank you
  2 Comments
KSSV
KSSV on 29 Apr 2019
Why you want to go for a legend? I think colorbar suits your need.
Barbab
Barbab on 29 Apr 2019
grafico.png
Thank for your answrer.
I want my legend to look like this.
(I use different data for this graph)

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!