kopia lustrzana https://github.com/NanoVNA-Saver/nanovna-saver
Merge pull request #530 from Oscilllator/main
Add negative real resistance for proper graph scalingpull/535/merge
commit
7baa870e75
|
@ -183,8 +183,8 @@ class RealImaginaryChart(FrequencyChart):
|
|||
min_imag = im
|
||||
|
||||
# Always have at least 8 numbered horizontal lines
|
||||
max_real = max(8, math.ceil(max_real))
|
||||
min_real = max(0, math.floor(min_real)) # Negative real resistance? No.
|
||||
max_real = math.ceil(max_real)
|
||||
min_real = math.floor(min_real)
|
||||
max_imag = math.ceil(max_imag)
|
||||
min_imag = math.floor(min_imag)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue