Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
SIMS
LSL Modules
pyLSL Streams Visualization
Commits
da64fb32
Commit
da64fb32
authored
Mar 03, 2020
by
Marios Fanourakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed some axis to increase available plot area
parent
292d3863
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
visualize_streams.py
visualize_streams.py
+6
-2
No files found.
visualize_streams.py
View file @
da64fb32
...
...
@@ -88,7 +88,9 @@ class DataInlet(Inlet):
plts
.
append
(
gl
.
addPlot
())
plts
[
-
1
].
addItem
(
curve
)
plts
[
-
1
].
setXLink
(
plts
[
0
])
plts
[
-
1
].
setLabel
(
'top'
,
text
=
self
.
name
+
' channel '
+
str
(
ch_ix
))
plts
[
-
2
].
hideAxis
(
'bottom'
)
plts
[
-
1
].
hideAxis
(
'top'
)
plts
[
-
1
].
setTitle
(
title
=
self
.
name
+
' channel '
+
str
(
ch_ix
))
self
.
plt_ixs
.
append
(
len
(
plts
)
-
1
)
ch_ix
=
ch_ix
+
1
...
...
@@ -168,7 +170,9 @@ def main():
# initialize with first plot (to display all marker data)
plts
:
List
[
pg
.
PlotItem
]
=
[
win
.
plots
.
addPlot
()]
plts
[
-
1
].
setLabel
(
'top'
,
text
=
'All Inlets Marker Data'
)
plts
[
-
1
].
setTitle
(
title
=
'All Inlets Marker Data'
)
plts
[
-
1
].
hideAxis
(
'bottom'
)
plts
[
-
1
].
showAxis
(
'top'
,
show
=
True
)
inlets
:
List
[
Inlet
]
=
[]
...
...
Write
Preview
Markdown
is supported
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