如何控制legend里的每个patch?

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

Answers (0)

Tags

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!