Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix case 'nocbar' in 'MS_sphere.m' #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

1 participant