如何控制legend里的每个patch?

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

Respuestas (0)

Categorías

Más información sobre Legend en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!