subplot,it can not show the line's name in plot broswer

2 次查看(过去 30 天)
it works well when not using subplot ,| why? how to handle it |

采纳的回答

Mischa Kim
Mischa Kim 2014-3-21
Roger, are you referring to the DisplayName?
subplot(2,1,1)
h1 = plot(x,y1)
set(h1,{'DisplayName'},{'xy1'})
subplot(2,1,2)
h2 = plot(x,y2)
set(h2,{'DisplayName'},{'xy2'})
Alternatively, you can set this property in the Property Editor:
  2 个评论
Roger
Roger 2014-3-21
thanks ,but it seems like there is no 'DisplayName' property in matlab 7.0
Roger
Roger 2014-3-24
编辑:Roger 2014-3-24
i made it wrong ,ur right,thanks very much

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by