how to make speedometer in graphics

4 次查看(过去 30 天)
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
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
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
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 中查找有关 Lighting, Transparency, and Shading 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by