You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
529 B
19 lines
529 B
3 years ago
|
|
||
|
function plot_mmc(MMCs, minx, maxx, miny, maxy, minz, maxz)
|
||
|
figure(1); clf;
|
||
|
% for i = 1:size(MMCs, 1)
|
||
|
% t = MMCs(i, 1);
|
||
|
x = MMCs(:,[2,5]);
|
||
|
y = MMCs(:,[3,6]);
|
||
|
z = MMCs(:,[4,7]);
|
||
|
plot3(x',y',z','LineWidth',2, 'Color','k'); hold on;
|
||
|
% end
|
||
|
view([10 25]);
|
||
|
xlabel('x axis');
|
||
|
ylabel('y axis');
|
||
|
zlabel('z axis');
|
||
|
axis equal;
|
||
|
axes1 = gca;
|
||
|
set(axes1,'Xlim',[minx-0.1, maxx+0.1],'Ylim',[miny-0.1, maxy+0.1], 'Zlim',[minz-0.1, maxz+0.1]);
|
||
|
% axis off;
|
||
|
end
|