Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cs
gui
i0mapmon-topo
Commits
8e4b7c49
Commit
8e4b7c49
authored
Apr 08, 2022
by
Giacomo Strangolino
Browse files
scaled version of the attributes
parent
b2049252
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/i0mapmontopoobjfilter.cpp
View file @
8e4b7c49
...
...
@@ -41,7 +41,7 @@ bool I0MapMonObjFilter::eventFilter(QObject *watched, QEvent *event) {
QString
ys
;
double
xsum
=
bchart
->
baseline
();
for
(
int
j
=
0
;
j
<
values
.
size
();
j
++
)
{
ys
+=
QString
(
"λ %1: %2"
).
arg
(
j
+
1
).
arg
(
values
[
j
])
+
"
\n
"
;
ys
+=
QString
(
"λ %1: %2"
).
arg
(
j
+
1
).
arg
(
(
values
[
j
]
>
-
1e-3
?
QString
::
number
(
values
[
j
])
:
"INVALID"
)
)
+
"
\n
"
;
if
(
stacked
)
xsum
+=
values
[
j
];
else
if
(
fabs
(
values
[
j
])
>
xsum
)
xsum
=
values
[
j
];
}
...
...
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