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
6916d308
Commit
6916d308
authored
Mar 02, 2021
by
Giacomo Strangolino
Browse files
axis title inverted - issue
parent
024c31e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/i0mapmon_topo.cpp
View file @
6916d308
...
...
@@ -156,8 +156,8 @@ void I0mapmon_topo::m_txf(bool txf) {
foreach
(
QString
n
,
m_names
)
{
m_multiread_plu_i
->
insertSource
(
m_dev
+
"/"
+
n
+
(
txf
?
"_txf"
:
""
),
i
++
);
}
txf
?
ui
->
chart
->
canvas
()
->
setPalette
(
QColor
(
"black"
))
:
ui
->
chart
->
canvas
()
->
setPalette
(
QColor
(
"white"
)
);
txf
?
ui
->
chart
->
setAxisTitle
(
QwtPlot
::
yLeft
,
"Transmission"
)
:
ui
->
chart
->
setAxisTitle
(
QwtPlot
::
yLeft
,
"Intensity (
u
J)"
);
txf
?
ui
->
chart
->
canvas
()
->
setPalette
(
QColor
(
"black"
))
:
ui
->
chart
->
canvas
()
->
setPalette
(
QColor
(
"white"
)
);
txf
?
ui
->
chart
->
setAxisTitle
(
QwtPlot
::
xBottom
,
"Transmission"
)
:
ui
->
chart
->
setAxisTitle
(
QwtPlot
::
xBottom
,
"Intensity (
μ
J)"
);
}
void
I0mapmon_topo
::
m_onStateChanged
(
const
CuData
&
da
)
{
...
...
src/i0mmtopobarchart.cpp
View file @
6916d308
...
...
@@ -37,7 +37,7 @@ I0MMTopoBarChart::I0MMTopoBarChart(QWidget *parent) : QwtPlot(parent)
setPalette
(
Qt
::
white
);
canvas
()
->
setPalette
(
QColor
(
"white"
)
);
setAxisTitle
(
QwtPlot
::
yLeft
,
"Fel
Intensity"
);
setAxisTitle
(
QwtPlot
::
xBottom
,
"
Intensity
(μJ)
"
);
m_barchart
=
new
QwtPlotMultiBarChart
(
"Fel Intensity"
);
m_barchart
->
setLayoutPolicy
(
QwtPlotMultiBarChart
::
AutoAdjustSamples
);
...
...
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