Skip to content

Commit b069540

Browse files
committed
Set axes off
1 parent 0f4eb75 commit b069540

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

visualisation/plotmov_flows.m

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
function fig_handle = plotmov_flows(params)
22
% params: structure with all the parameters for neural-flows
3-
% Paula Sanz-Leon, QIMRB, 2020
3+
% Paula Sanz-Leon 2020
44

55
% Load file handles
66
obj_flows = load_iomat_flows(params);
@@ -38,15 +38,17 @@
3838

3939
for tt=1:1:num_frames
4040
ax_handle.View = [90 0];
41+
4142
[F,V,C] = quiver3Dpatch(obj_flows.locs(:,1),obj_flows.locs(:, 2), obj_flows.locs(:, 3), ...
4243
uxyz(:, 1, tt), uxyz(:, 2, tt), uxyz(:, 3, tt), ...
4344
uxyz_n(:, tt), [15 16]);
4445
hp=patch('faces',F,'vertices',V,'cdata',C,'edgecolor','none','facecolor','flat');
45-
ax_handle.Position = [0.1300 0.1100 0.7750 0.8150];
46+
ax_handle.Position = [0.1300 0.1100 0.7750 0.8150];
47+
axis off
4648
writeVideo(vid_obj, getframe(ax_handle));
4749
cla(ax_handle)
4850
end
4951
% Close file
5052
close(vid_obj);
5153

52-
end % plotmov_flows()
54+
end

0 commit comments

Comments
 (0)