有相关代码吗?提示你一下,legend的参数中支持图形句柄 LEGEND(AX,...) puts a legend on the axes with handle AX. 不是很理解你说的,你自己写一个简单的例子说明一下,看能不能帮到你。