Skip to content

Commit

Permalink
Use same colour limits for both hemispheres
Browse files Browse the repository at this point in the history
  • Loading branch information
Romesh Abeysuriya committed Apr 19, 2017
1 parent ce6cfb2 commit 69f7f3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ohba_utils/@parcellation/plot_surface.m
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ function plot_surface(p,data,surface_inflation,single_plot,interptype)

axis(ax,'equal');
axis(ax,'vis3d');
set(ax(1),'View', [-90 0])
set(ax(1),'View', [-90 0]);
set(ax,'CLim',[min([vl.cdata;vr.cdata]) max([vl.cdata;vr.cdata])]);

arrayfun(@(x) shading(x,'interp'),ax);
arrayfun(@(x) colorbar(x,'Location','SouthOutside'),ax);
Expand Down

0 comments on commit 69f7f3c

Please sign in to comment.