如何控制legend里的每个patch?

4 vues (au cours des 30 derniers jours)
令宸
令宸 le 26 Déc 2025 à 10:48
我在画柱状图的时候需要区别不同种类的模型跑出来的结果。为了区别深度学习模型和机器学习模型,我在画图的时候使用了hatchfill2对机器学习模型跑出来的结果进行了斜线填充,但是2024b之后的legend不在支持多个输出参量,我没办法用hatchfill2去填充图例里的色块。

Réponses (0)

Catégories

En savoir plus sur Legend dans Help Center et File Exchange

Tags

Produits


Version

R2024b

Community Treasure Hunt

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

Start Hunting!