Can a text statement be put on a contour plot?

I have tried putting text(40, 50, 'comment') after a contour plot without succcess. Is there something I am missing? Thanks.

回答(1 个)

Give your text() a small Z value such as
text(40,50, .1, 'comment')

类别

在 帮助中心 和 File Exchange 中查找有关 Annotations 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by