MATLAB Tip: Logarithmic color-scales for contour and image plots

[caption id="attachment_761" align="alignright" width="392"] Logarithmic Color-bar for Contour Plot[/caption] A lot of my data ranges orders of magnitude, and can be very hard to depict using standard MATLAB functions like imagesc, contourf, contour, etc.  A quick google search on how to make logarithmic contour plots and logarithmic color-bars yielded some unhelpful results, so I thought I'd give a quick post here. 1) Define Your Contours Define where you'd like...Read More