Created
October 6, 2016 22:44
-
-
Save samstewart/1c4d0df9448d80cbb414408dd90831b3 to your computer and use it in GitHub Desktop.
Plots a heatmap of a scalar field
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% plots a scalar field as a heat map | |
function plot_scalar_field(field) | |
colormap('hot'); | |
imagesc(field); | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment