This shows you the differences between two versions of the page.
analysis:matlabtricks [2014/08/22 16:25] mvdm created |
analysis:matlabtricks [2018/07/07 10:19] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Plotting ==== | ||
- | * To plot an ''imagesc'' with NaNs transparent, do this: | ||
- | <code matlab> | ||
- | h = imagesc(X,Y,C) | ||
- | set(h,'alphadata',~isnan(C)) | ||
- | </code> |