Skip to content

Commit

Permalink
Remove plotting form Stretch
Browse files Browse the repository at this point in the history
Refs #10277
  • Loading branch information
DanNixon committed Nov 5, 2014
1 parent 370a80a commit a69d958
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions Code/Mantid/MantidQt/CustomInterfaces/src/Stretch.cpp
Expand Up @@ -137,21 +137,6 @@ namespace MantidQt
" Save="+save+", Plot='"+plot+"', Verbose="+verbose+")\n";

runPythonScript(pyInput);

//Update mini plot
QString sigmaWsName = sampleName.left(sampleName.size() - 3) + "Qst_Sigma";
QString betaWsName = sampleName.left(sampleName.size() - 3) + "Qst_Beta";

MatrixWorkspace_sptr sigmaWs = AnalysisDataService::Instance().retrieveWS<MatrixWorkspace>(sigmaWsName.toStdString());
MatrixWorkspace_sptr betaWs = AnalysisDataService::Instance().retrieveWS<MatrixWorkspace>(betaWsName.toStdString());

plotMiniPlot(sigmaWs, 0, "StretchPlot", "SigmaCurve");
plotMiniPlot(betaWs, 0, "StretchPlot", "BetaCurve");

m_curves["SigmaCurve"]->setPen(QColor(Qt::red));
m_curves["BetaCurve"]->setPen(QColor(Qt::green));

replot("StretchPlot");
}

/**
Expand Down

0 comments on commit a69d958

Please sign in to comment.