全部 我想以增量增加3D绘图中的标记大小。我有在不同时间点测量的数据,并希望每次连续测量时标记变大。
我已附上sample data file。数据被格式化为6个变量(a1,a2,a3,b1,b2,b3),每个变量包含3个变量的7个测量值。 a和b是条件; 1,2和3是标本。
到目前为止,图表的代码如下:
%Create two series of matrices containing data for each condition.
ax = [(a1(:,1)),(a2(:,1)),(a3(:,1))];
ay = [(a1(:,2)),(a2(:,2)),(a3(:,2))];
az = [(a1(:,3)),(a2(:,3)),(a3(:,3))];
bx = [(b1(:,1)),(b2(:,1)),(b3(:,1))];
by = [(b1(:,2)),(b2(:,2)),(b3(:,2))];
bz = [(b1(:,3)),(b2(:,3)),(b3(:,3))];
%Make line plot of all data
figure_a = plot3(ax,ay,az, 'Color', 'r', 'Marker','o'); hold on;
figure_b = plot3(bx,by,bz,'Color', 'b', 'Marker','s');