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
finesse
pykat
Commits
3c7ea905
Commit
3c7ea905
authored
Jan 18, 2017
by
Daniel Brown
Browse files
fixing plotting function again
parent
1daf66a2
Pipeline
#1778
passed with stage
in 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pykat/gw_detectors/ifo.py
View file @
3c7ea905
...
...
@@ -508,7 +508,10 @@ put f1m f $mx1
ax
.
plot
(
out
.
x
,
out
[
d
.
signal_name
(
kat
)],
label
=
legend
)
else
:
for
_
in
toShow
:
ax
.
plot
(
out
.
x
,
out
[
_
.
signal_name
(
kat
)],
label
=
_
.
name
)
if
legend
is
None
:
legend
=
_
.
name
ax
.
plot
(
out
.
x
,
out
[
_
.
signal_name
(
kat
)],
label
=
legend
)
ax
.
set_xlim
([
np
.
min
(
out
.
x
),
np
.
max
(
out
.
x
)])
ax
.
set_xlabel
(
"{} [deg]"
.
format
(
d
.
name
))
...
...
@@ -516,7 +519,7 @@ put f1m f $mx1
if
plotDOFs
is
None
:
ax
.
set_ylabel
(
'{} [W] '
.
format
(
d
.
port
.
name
))
else
:
ax
.
set_ylabel
(
'
{
Error signal
}
[W]
'
)
ax
.
set_ylabel
(
'Error signal [W]'
)
ax
.
grid
(
True
)
...
...
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