how to make speedometer in graphics

12 Ansichten (letzte 30 Tage)
Krishnendu Mukherjee
Krishnendu Mukherjee am 9 Mär. 2012
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 Kommentare
Krishnendu Mukherjee
Krishnendu Mukherjee am 9 Mär. 2012
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 am 12 Mär. 2012
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?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 9 Mär. 2012
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 Kommentar
Krishnendu Mukherjee
Krishnendu Mukherjee am 12 Mär. 2012
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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Graphics Object Properties finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by