Skip to content
Snippets Groups Projects
LineViewer.cpp 32.1 KiB
Newer Older
  this->choosePlotAxis();
  MantidQwtIMDWorkspaceData curveData(m_sliceWS, false,
      VMD(), VMD(), Mantid::API::VolumeNormalization);
  curveData.setTransform(m_transformToOriginal_full, m_plotOriginalDimensionIndex);
  m_fullCurve->setData(curveData);

  if (m_previewCurve->isVisible())
  {
    m_previewCurve->setVisible(false);
    m_previewCurve->detach();
    m_fullCurve->attach(m_plot);
  }
  m_fullCurve->setVisible(true);
  m_plot->replot();
  m_plot->setTitle("Integrated Line Plot");
  this->setPlotAxisLabels();