Source
703
703
// Fill cumulative counter
704
704
nCumulPoints_(0) = nSegPoints_(0);
705
705
for (Int iseg=1; iseg<nSegment_; ++iseg)
706
706
nCumulPoints_(iseg) = nCumulPoints_(iseg-1) + nSegPoints_(iseg);
707
707
nPoints_.reference(nSegPoints_);
708
708
nCumulative_.reference(nCumulPoints_);
709
709
710
710
if (itsXConnect_ != "none") {
711
711
reindexForConnect();
712
712
}
713
-
714
-
// Compute nominal plot ranges
715
-
computeRanges();
716
-
717
-
// The indexer is now ready for plotting
718
-
indexerReady_ = true;
719
713
}
720
714
721
715
void PlotMSIndexer::reindexForConnect() {
722
716
// Need points reordered for connecting points.
723
717
bool doTimeConnect(itsXConnect_ != "none" && itsTimeConnect_),
724
718
xIsIter(currentX_ == iterAxis_),
725
719
hasChan(plotmscache_->hasChan()),
726
720
hasAnt2(plotmscache_->hasAnt2());
727
721
728
722
// set up sortkeys and sort