Scientific figure design
Wednesday, April 18, 2012
Add a label to a colorbar in Matlab
I find myself Googling for this one every time I need to label a colorbar in a Matlab plot.
To add a label to your colorbar:
h = colorbar;
ylabel(h, 'Water depth, m');
We'll cover stuff like this in our next Figure Club meeting on Matlab tips and tricks.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment