Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tammo Jan Dijkema
zonnedemo
Commits
b2bb59da
Commit
b2bb59da
authored
Aug 23, 2021
by
Tammo Jan Dijkema
Browse files
Set log scale if attenuator on
parent
f3b362bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
zonnewaarneming.py
View file @
b2bb59da
...
...
@@ -188,6 +188,10 @@ while not stoprequest:
prev_points
=
ax
.
scatter
([
separation
.
deg
],
[
signal
],
s
=
50
,
color
=
'red'
)
ax
.
set_ylim
((
0.9
*
minsignal
,
1.1
*
maxsignal
))
if
minsignal
<
1000
:
# Attenuator on
ax
.
set_yscale
(
"log"
)
update_legend
(
ax
,
closest_source
)
# show the plot
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment