如何控制legend里的每个patch?

4 visualizzazioni (ultimi 30 giorni)
令宸
令宸 il 26 Dic 2025
我在画柱状图的时候需要区别不同种类的模型跑出来的结果。为了区别深度学习模型和机器学习模型,我在画图的时候使用了hatchfill2对机器学习模型跑出来的结果进行了斜线填充,但是2024b之后的legend不在支持多个输出参量,我没办法用hatchfill2去填充图例里的色块。

Risposte (0)

Categorie

Scopri di più su Legend in Help Center e File Exchange

Tag

Prodotti


Release

R2024b

Community Treasure Hunt

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

Start Hunting!