MCPcopy Create free account
hub / github.com/analogdevicesinc/scopy / xInterval

Method xInterval

gui/src/plotcomponent.cpp:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45PlotWidget *PlotComponent::plot(int idx) { return m_plots[idx]; }
46
47QPair<double, double> PlotComponent::xInterval()
48{
49 double min = m_plots[0]->xAxis()->min();
50 double max = m_plots[0]->xAxis()->max();
51 return QPair<double, double>(min, max);
52}
53
54void PlotComponent::replot()
55{

Callers

nothing calls this directly

Calls 3

minMethod · 0.45
xAxisMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected