Skip to content

Conversation

@yvonnefroehlich
Copy link

This PR aims to fix the case 'nocbar' in the function MS_sphere.m.

Supress printing of the colour bar.

A colorbar is added if the variable nocbar is unequal to 1, see lines 493-494:

if (nocbar~=1)
    cbax = colorbar('NorthOutside','FontSize',14,'FontWeight','bold');
    % ...
end

So, to not add a colorbar (passing 'nocbar' to MS_sphere.m) the variable nocbar has to be 1 not 0, see lines 201-203:

case 'nocbar'
    nocbar = 1 ; % <- instead of 0
    iarg = iarg + 1 ;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant