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 plotting with dataselection #191

Merged
merged 1 commit into from
Feb 28, 2022
Merged

Conversation

pascalau
Copy link
Collaborator

This is a fix for the issue that arises when plotting and manual data selection is performed. The issue stems from the self.y_forces and self.y_moments not being cropped during data selection which leads to wrong sizes during plotting. This pr fixes the issue by correctly passing cropped y_forces and y_moments to the residual calculation and plotting.

Copy link
Member

@Jaeyoung-Lim Jaeyoung-Lim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Works!

@Jaeyoung-Lim Jaeyoung-Lim merged commit f0279af into master Feb 28, 2022
@Jaeyoung-Lim Jaeyoung-Lim deleted the pr-plotting-with-dataselection branch February 28, 2022 17:05
@Jaeyoung-Lim
Copy link
Member

My fault that I didn't check this thoroughly.

The axis seems to be mixed:
Figure_1

This was referenced Mar 5, 2022
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

2 participants