====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
gibson:teaching:spring-2018:math445:lab10 [2018/04/17 06:54] gibson |
gibson:teaching:spring-2018:math445:lab10 [2018/04/19 08:11] (current) gibson |
||
---|---|---|---|
Line 52: | Line 52: | ||
[i,j,x] = find(X); | [i,j,x] = find(X); | ||
plot(j,i,'bs','MarkerEdgeColor','b','MarkerFaceColor','b','MarkerSize',4); | plot(j,i,'bs','MarkerEdgeColor','b','MarkerFaceColor','b','MarkerSize',4); | ||
- | axis image | + | axis ij |
</code> | </code> | ||
Line 90: | Line 90: | ||
</code> | </code> | ||
- | That should lead to some pretty intersting behavior. If you get errors, debug your code until it runs correctly. Save this code as ''mylife.m'' to turn in. | + | That should lead to some pretty interesting behavior. If you get errors, debug your code until it runs correctly. Save this code as ''mylife.m'' to turn in. |