I created an image through some variables obtained.
I wanted to put a ColorBar with the name of the variable and also the unit.
I have accomplished the easiest task, to put a colorbar in the graph.
Can someone help me with how to put the name/units of the colorbar?
This part of the code looks like this:
image(rho); colorbar('location','SouthOutside'); colormap(hsv(10));
Sorry if this question is too simple. I'm just a beginner student in MatLab and programming.
Best Answer