how change order color legend?

hi, write code in the pics

1 Comment

Dyuman Joshi
Dyuman Joshi on 16 Sep 2023
Edited: Dyuman Joshi on 16 Sep 2023
You want to reverse the order of the legend names of plots after creating them?
Also, I would strongly recommend you to clearly state/specify what your goal is, rather than have us guessing/asking for what you want to do.

Sign in to comment.

Answers (1)

Steven Lord
Steven Lord on 16 Sep 2023
If you're using release R2023b or later, there's a new legend property introduced in R2023b that may be of interest to you. Change the Direction property.

Asked:

on 16 Sep 2023

Answered:

on 16 Sep 2023

Community Treasure Hunt

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

Start Hunting!