Skip to content

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