Improve plotting
This commit is contained in:
@@ -52,12 +52,17 @@ std::vector<float> AzimuthalIntegrationProfile::GetResult() const {
|
||||
return rad_int_profile;
|
||||
}
|
||||
|
||||
Plot AzimuthalIntegrationProfile::GetPlot() const {
|
||||
void AzimuthalIntegrationProfile::SetTitle(const std::string &input) {
|
||||
title = input;
|
||||
}
|
||||
|
||||
MultiLinePlot AzimuthalIntegrationProfile::GetPlot() const {
|
||||
std::unique_lock<std::mutex> ul(m);
|
||||
|
||||
Plot ret;
|
||||
ret.x = bin_to_q;
|
||||
ret.y = GetResult();
|
||||
MultiLinePlot ret(1);
|
||||
ret[0].x = bin_to_q;
|
||||
ret[0].y = GetResult();
|
||||
ret[0].title = title;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user