forked from cnerg/snippets
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
README REDO (based on proposed structure in Issue cnerg#2): master RE…
…ADME updated, directory README added
- Loading branch information
Showing
2 changed files
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Heatmaps in matplotlib | ||
Given X, Y, Z experimental data suited to heatmap plotting, one can follow the | ||
steps in this notebook to get a surface plot with a colorbar. This notebook | ||
shows three varieties of surface plots using toy data. | ||
|
||
For all plots, it first uses triangulation on the X, Y data to form a | ||
triangular grid (and normalizes the colors to the z range). There are three | ||
methods used to plot the surface: | ||
1. tricontourf | ||
2. tripcolor with flat shading | ||
3. tripcolor with Gourard shading | ||
Note that the color bar is only smoothed with tripcolor. |