how to make speedometer in graphics

조회 수: 7 (최근 30일)
Krishnendu Mukherjee
Krishnendu Mukherjee 2012년 3월 9일
i have to make a speedometer in gui,as like we see in vechile.how can i do that? if i drag a axes an put it on gui editer.then set a call back function.will it be possible? if possible then what should be the callback function?
  댓글 수: 2
Krishnendu Mukherjee
Krishnendu Mukherjee 2012년 3월 9일
i have a matrix having different values of the speed.this values will be shown on the speedometer,
suppose:
v=[10 12 13 13.4 14............]rpm
time interval is .ooo1 sec.
i hv to show those values on the speedometer.
any body plz help.
Krishnendu Mukherjee
Krishnendu Mukherjee 2012년 3월 12일
by the way i hv an idea,though i hvnt use graphics in matlab before,by the way,i think if i open an image of speedometer an supperimpose the niddle on different angle on it according to the given speed.is it possible?

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2012년 3월 9일
There is no callback function of an axes object that would be relevant to this question.
You will encounter non-trivial difficulties in attempting to process anything with an interval as low as 0.0001 seconds (1/10000 of a second).
Your graphics display is likely not any faster than 120 frames per second; there is no point in trying to update it 83 times faster than that.
  댓글 수: 1
Krishnendu Mukherjee
Krishnendu Mukherjee 2012년 3월 12일
ok,its nt necessarily to be .0001 sec exactly.i hv just given an example.the interval may be allowed to be .1 sec.i need the program of that

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Graphics Object Properties에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by