Tutorial by Examples

This is a simple code creating 6 3d-subplots and in the end syncing the color displayed in each of them. c_fin = [0,0]; [X,Y] = meshgrid(1:0.1:10,1:0.1:10); figure; hold on; for i = 1 : 6 Z(:,:,i) = i * (sin(X) + cos(Y)); ax(i) = subplot(3,2,i); hold on; grid on; surf(X, Y, Z(...

Page 1 of 1