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

Ep3: Be sure to close figures before running script #216

Closed
gcapes opened this issue May 8, 2019 · 1 comment · Fixed by #218
Closed

Ep3: Be sure to close figures before running script #216

gcapes opened this issue May 8, 2019 · 1 comment · Fixed by #218

Comments

@gcapes
Copy link
Contributor

gcapes commented May 8, 2019

Leaving the subplot figure window open confuses the output of the script.
Mention MATLAB's behaviour of reusing figure windows, and perhaps use the figure command right from the initial script to ensure we're plotting into a new figure.

@gcapes
Copy link
Contributor Author

gcapes commented May 9, 2019

This could be fixed starting in the scripts episode. Rationale is that when running the script, we won't necessarily know if there are any open windows. To avoid unexpected results by reusing the top figure window, we'll create a new one using figure.

gcapes added a commit to gcapes/matlab-novice-inflammation that referenced this issue May 10, 2019
gcapes added a commit to gcapes/matlab-novice-inflammation that referenced this issue May 13, 2019
zkamvar pushed a commit that referenced this issue Apr 26, 2023
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 a pull request may close this issue.

1 participant