how to make speedometer in graphics

5 views (last 30 days)
Krishnendu Mukherjee
Krishnendu Mukherjee on 9 Mar 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 Comments
Krishnendu Mukherjee
Krishnendu Mukherjee on 9 Mar 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 on 12 Mar 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?

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 9 Mar 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 Comment
Krishnendu Mukherjee
Krishnendu Mukherjee on 12 Mar 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

Sign in to comment.

Tags

Products

Community Treasure Hunt

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

Start Hunting!