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

조회 수: 1 (최근 30일)
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by