Commit c45180e1d4c408f17257c620a7aefac9a5a74bd1

Authored by Benjamin Renard
1 parent b96aa975

Add _used properties in copy constructor of Axis

src/ParamOutputImpl/Plot/Axis.cc
... ... @@ -50,6 +50,7 @@ Axis::Axis(const Axis& axis) :
50 50 _reverse(axis._reverse),
51 51 _tick(),
52 52 _visible(axis._visible),
  53 + _used(axis._used),
53 54 _thickness(axis._thickness),
54 55 _legend(axis._legend),
55 56 _drawn(axis._drawn),
... ...
src/ParamOutputImpl/Plot/PanelPlotOutput.cc
... ... @@ -2590,6 +2590,8 @@ std::string PanelPlotOutput::drawOppositeSide(boost::shared_ptr<Axis> pAxis) {
2590 2590 boost::shared_ptr<Axis> lNewAxis;
2591 2591 std::string lOppositeSide;
2592 2592  
  2593 +
  2594 +
2593 2595 switch (pAxis->_position) {
2594 2596 case PlotCommon::Position::POS_BOTTOM:
2595 2597 if (pAxis->_visible && !_plotAreaSideSet[PlotCommon::Position::POS_TOP]) {
... ...