Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
radix
Commits
ead0cd0b
Commit
ead0cd0b
authored
Aug 23, 2016
by
LEFEBVREJP email
Browse files
Updating fitGraphs to zoom to 1*extent of data instead of 1.1*extent.
parent
9e60b9a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
radixplot/plot.cc
View file @
ead0cd0b
...
...
@@ -244,8 +244,8 @@ void Plot::fitGraphs()
{
qcplot
->
rescaleAxes
(
true
);
// zoom out a touch to capture begin/end
qcplot
->
yAxis
->
scaleRange
(
1.
1
,
qcplot
->
yAxis
->
range
().
center
());
qcplot
->
xAxis
->
scaleRange
(
1.
1
,
qcplot
->
xAxis
->
range
().
center
());
qcplot
->
yAxis
->
scaleRange
(
1.
0
,
qcplot
->
yAxis
->
range
().
center
());
qcplot
->
xAxis
->
scaleRange
(
1.
0
,
qcplot
->
xAxis
->
range
().
center
());
qcplot
->
replot
();
}
//Plot::fitGraphs
...
...
@@ -2269,4 +2269,5 @@ void PlotOptionDialog::changePage(
sectionContentWidget
->
setCurrentIndex
(
row
);
}
}
// namespace radix
radixplot/plot.hh
View file @
ead0cd0b
...
...
@@ -44,6 +44,7 @@ QT_END_NAMESPACE
namespace
radix
{
/** namespace Scale Forward declarations */
class
Plot
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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