If I want to show the path of a heat source as it moves, is it possible to mark the path with numbers?

I have a moving point source. Each time it emits heat, I would like to mark the place where it occurred. I would like to know the order of the places it has pulsed out heat. The plot and scatter functions won't seem to take an integer as a marker. Is there another function that I could use to do this, or another way to mark it with integers? Thanks!

 採用された回答

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh 2015 年 6 月 3 日
Hi Chris,
You can use text() command.
It puts a text in the current position, you can set the string as a number with num2str()
Hope this helps.

2 件のコメント

Worked like a charm, thank you!
very welcome ;)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File 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