plotting an engine characterisstic map

Hi, I want to create an engine characteristic map, but i'm new to matlab and I need some help to do it. I created an engine characteristic map with an other program, but cause of the interpolation i get some values on the map that doesn't exist. Because of this i want to use Matlab.
As values I have RPM, torque and efficiency. With these i want to create a surface, on that i look at/from the top of it; the efficiency should be visible as the colour of the surface which beginns at 75%. I also want some countourlines at 92%, 93%, 94%, 95%, 96%, 97% and 98%.
It would be realy nice if you can help me.

 Accepted Answer

José-Luis
José-Luis on 22 Aug 2012
Edited: José-Luis on 22 Aug 2012
Sounds like contourf is the function you are looking for:
If you don't want to plot data below a certain efficiency:
efficiency_matrix(efficiency_matrix < threshold) = NaN;
Cheers!

More Answers (0)

Community Treasure Hunt

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

Start Hunting!