Commit 630ce80f8a7fc8f8a47c26fc82234a2ae86e516c

Authored by Erdogan Furkan
1 parent d22c5e5a

#6859

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/ParamOutputImpl/Plot/PanelPlotOutput.cc
... ... @@ -412,8 +412,8 @@ namespace plot
412 412 if ((pAxis->_showLegend == true) && (nbLegendRows != 0))
413 413 {
414 414 rightSpace += PlPlotUtil::LINE_SPACE_TITLE * legendCharSizePanel.second * std::get<1>(pageSize) / std::get<0>(pageSize);
415   - pAxis->setLegendOffset(rightSpace + 0.5 * legendCharSizePanel.second * std::get<1>(pageSize) / std::get<0>(pageSize));
416   - rightSpace += (nbLegendRows + PlPlotUtil::LINE_SPACE_TITLE * (nbLegendRows + 1)) * legendCharSizePanel.second * std::get<1>(pageSize) / std::get<0>(pageSize);
  415 + pAxis->setLegendOffset(rightSpace + 0.3 * legendCharSizePanel.second * std::get<1>(pageSize) / std::get<0>(pageSize));
  416 + rightSpace += (2*nbLegendRows + PlPlotUtil::LINE_SPACE_TITLE * (nbLegendRows + 1)) * legendCharSizePanel.second * std::get<1>(pageSize) / std::get<0>(pageSize);
417 417 }
418 418  
419 419 break;
... ...