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 'nofig' of 'MS_sphere.m' #41

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 'nofig' in the function MS_sphere.m.

Suppress the figure command, so plot can be sub-plotted.

A figure is set up if the variable nofig is unequal to 1, see lines 268-270:

if (nofig~=1)
    figure('position',[0 0 800 800])
end

So, to not set up a figure (passing 'nofig' to MS_sphere.m) the variable nofig has to be 1 not 0, see lines 198-200:

case 'nofig'
    nofig = 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