Enable user selectable scaling of plots: linear or log, xmin xmax ymin ymax (also for secondary axis) for all simulation types
Description
Currently selection of lin or log scale during plotting is fixed (determined by Eeschema).
Enable user selectable lin or log scale by adding tick boxes lin/log on both axes (in each Plot Setup window).
Enable setting min and max for x and y1, y2.
Add a tick box 'autoscale', which may be grayed out when setting min or max, but then allows to toggle between user and auto settings.
Replot when leaving the Plot Setup Window.
Keep the settings when repeating the simulation.
Btw. the text on the 'Fixed voltage' or 'Fixed current' tick boxes is truncated (MS Windows, see picture).
Some provisions have to be made to avoid trouble with negative data (plot the abs(), or ignore them, or bailed (probably a bad solution)).
Steps to reproduce
KiCad Version
Application: KiCad Schematic Editor x64 on x64
Version: 8.99.0-781-g586fddeec1, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.13.2
HarfBuzz 8.3.0
FontConfig 2.14.2
libcurl/8.6.0-DEV Schannel zlib/1.3.1
Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Apr 20 2024 08:09:22
wxWidgets: 3.2.4 (wchar_t,wx containers)
Boost: 1.84.0
OCC: 7.8.1
Curl: 8.6.0-DEV
ngspice: 42
Compiler: Visual C++ 1936 without C++ ABI
Locale:
Lang: en_GB
Enc: UTF-8
Num: 1,234.5
Edited by holvo