User Tools

Site Tools


analysis:matlabtricks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision Both sides next revision
analysis:matlabtricks [2014/08/22 16:25]
mvdm created
analysis:matlabtricks [2014/08/22 16:26]
mvdm
Line 2: Line 2:
  
   * To plot an ''​imagesc''​ with NaNs transparent,​ do this:   * To plot an ''​imagesc''​ with NaNs transparent,​ do this:
-<code matlab>​ +    ​<code matlab>​ 
-h = imagesc(X,​Y,​C) +    h = imagesc(X,​Y,​C) 
-set(h,'​alphadata',​~isnan(C)) +    set(h,'​alphadata',​~isnan(C)) 
-</​code>​+    </​code>​
analysis/matlabtricks.txt · Last modified: 2018/07/07 10:19 (external edit)