Skip to content

Commit cc5b079

Browse files
ENH - also pass the units for the anatomical MRI to the plotting function
1 parent 3fdcf96 commit cc5b079

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utilities/ft_determine_coordsys.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
resolution = diagonal_head/diagonal_vox; % this is in units of "data.unit"
162162

163163
clear ft_plot_slice
164-
ft_plot_ortho(funparam, 'transform', data.transform, 'resolution', resolution, 'style', 'intersect');
164+
ft_plot_ortho(funparam, 'transform', data.transform, 'unit', data.unit, 'resolution', resolution, 'style', 'intersect');
165165
axis vis3d
166166
view([110 36]);
167167

0 commit comments

Comments
 (0)