Skip to content

Instantly share code, notes, and snippets.

@samstewart
Created October 6, 2016 22:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samstewart/1c4d0df9448d80cbb414408dd90831b3 to your computer and use it in GitHub Desktop.
Save samstewart/1c4d0df9448d80cbb414408dd90831b3 to your computer and use it in GitHub Desktop.
Plots a heatmap of a scalar field
% 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