how change order color legend?
5 次查看(过去 30 天)
显示 更早的评论
hi, write code in the pics
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1484262/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1484267/image.png)
1 个评论
Dyuman Joshi
2023-9-16
编辑:Dyuman Joshi
2023-9-16
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.
回答(1 个)
Steven Lord
2023-9-16
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!