Skip to content

Commit bd2367a

Browse files
committed
fix cmap bug of top axis
1 parent 7a3e2f7 commit bd2367a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

needles/plotTrajectory.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@
4242
set(ax, 'YTick', trajX(round(uy)-1), 'YTickLabel', uStr, 'XTick', [], 'TickDir', 'out');
4343
box(ax, 'off');
4444
axis(ax, 'image');
45-
cmap = atlas.cmap; caxis([1 size(cmap,1)]); colormap(get(ax, 'Parent'), cmap);
45+
cmap = atlas.cmap; caxis(ax, [1 size(cmap,1)]); colormap(get(ax, 'Parent'), cmap);

0 commit comments

Comments
 (0)