This function makes pointed ends for colorbars to indicated that values have been clipped.
Chad Greene (2020). cbarrow: pointy ends for colorbars (https://www.mathworks.com/matlabcentral/fileexchange/52515-cbarrow-pointy-ends-for-colorbars), MATLAB Central File Exchange. Retrieved .
I have a problem using this function. After I use it the color bar get extremely thick and locates far away from my figure. Here is the link of my question:
does the trick!
A minor fix that I've used to maintain the "figure('visibility', 'off')" setting -- change line 252 "axes(h)" to "set(gcf, 'CurrentAxes', h)", and similar for line 255. Otherwise, an invisible figure becomes visible when you call this function.
thanks so much
Thanks Chad, works fine!
Ah, good catch Aodat! Thanks for pointing this out. The bug should be fixed now.
I'm experiencing a bug with cbarrow('down').
figure; colorbar; cbarrow('down');
Doesn't work properly for me, but shows additional lines. Would be great if you could fix that. Tested with Matlab 2015a & 2015b.
Thank you so much!
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!