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
Commits
a9f2091b
Commit
a9f2091b
authored
Sep 27, 2021
by
Giacomo Strangolino
Browse files
fix: lambda curve color and style linked to lambda 1,2,3... number
parent
64df851a
Changes
2
Hide whitespace changes
Inline
Side-by-side
i0mapmon.pro
View file @
a9f2091b
...
...
@@ -5,7 +5,7 @@ include($${CUMBIA_ROOT}/include/quapps/quapps.pri)
CONFIG
+=
debug
DEFINES
-=
QT_NO_DEBUG_OUTPUT
#
DEFINES
-=
QT_NO_DEBUG_OUTPUT
#
RESOURCES
+=
...
...
src/i0mmonplot.cpp
View file @
a9f2091b
...
...
@@ -75,7 +75,6 @@ bool I0MMonPlot::yAutoScale() const {
}
void
I0MMonPlot
::
setSources
(
const
QString
&
x
,
const
QString
&
y
,
const
QMap
<
int
,
double
>
lambdamap
,
int
nsamples
)
{
qDebug
()
<<
__PRETTY_FUNCTION__
<<
lambdamap
;
m_multiread_plu_i
->
unsetSources
();
foreach
(
const
QString
&
cn
,
m_curvesymap
.
keys
())
removeCurve
(
cn
);
...
...
@@ -100,7 +99,6 @@ void I0MMonPlot::setSources(const QString &x, const QString &y, const QMap<int,
}
m_curvesymap
[
cuna
]
=
m_symstyles
[(
lambdai
-
1
)
%
m_symstyles
.
size
()];
}
qDebug
()
<<
__PRETTY_FUNCTION__
<<
"settings sources: x "
<<
x
<<
" y "
<<
y
<<
"time mode"
<<
m_time_mode
;
if
(
m_time_mode
)
{
if
(
m_multiread_plu_i
)
m_multiread_plu_i
->
insertSource
(
y
,
0
);
...
...
@@ -114,9 +112,6 @@ void I0MMonPlot::setSources(const QString &x, const QString &y, const QMap<int,
}
}
updateLegend
();
printf
(
"I0MMonPlot::setSources curvesSize %d
\n
"
,
curves
().
size
());
foreach
(
QwtPlotCurve
*
c
,
curves
())
printf
(
"- %s
\n
"
,
qstoc
(
c
->
title
().
text
()));
}
void
I0MMonPlot
::
setYBounds
(
double
ymi
,
double
yma
)
{
...
...
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