miguelmoreto / labcontrole

The LabControle is a simulation software for linear control systems. It is designed to be used as an auxiliary tool for teaching classical control system theory.
http://sites.google.com/site/controlelab/
9 stars 2 forks source link

Nyquist zoom rectangle issue #37

Open miguelmoreto opened 1 year ago

miguelmoreto commented 1 year ago

The area zoom tool, when used on the Nyquist diagram, exhibits erroneous behavior.

This is due to the presence of two more Matplotlib Axes in the same figure (but hidden, which are the axes of the Bode diagram).

The dashed rectangle of the zoom tool is drawn based on the axes of the bode diagram (and not the axes of Nyquist).

Despite this, the zoom on the Nyquist chart seems to be applied correctly, according to the initial and final mouse positions.