how to make speedometer in graphics

4 ビュー (過去 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 Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by