chris-ali / j6dof-flight-sim

A high fidelity 6DOF flight simulation that the user can fly themselves or run to analyze an aircraft's flight dynamics
GNU General Public License v3.0
49 stars 13 forks source link

Refreshing Plot Causes Position Line to Disappear #33

Closed chris-ali closed 8 years ago

chris-ali commented 8 years ago

Refreshing plot window causes the y (North) axis to decrease to +/-10^-10, making position plot disappear from view

chris-ali commented 8 years ago

03d6a9e9decda9c6c167794f182ded6854489678 fixes this. Instead of creating a whole new CombinedDomainXYPlot object for the position plot, the sub XYPlot object is added directly onto the GUI tab. This prevents plot refreshing from causing any axis problems when revalidate() is called