Menu

#285 Global plot options in multiplot layout

v1.1.x
fixed
None
v1.1.0
Bug Fix
2018-03-08
2018-03-01
Erik Hänel
No

In the multiplot layout, which is using the compose ... endcompose environment, the options from other subplots are used globally, although only desired for one subplot. An example would be the logscale options:

compose -multiplot=1,3
    plot exp(x) -set aspect=3 ## will also use ylog
    subplot
    plot exp(x) -set ylog
    subplot
    plot exp(x) -set nologscale
endcompose

Analysis:
This problem can be fixed by introducing superglobal parameters, which are also evaluated in multiplot layout and standard global parameters, which are only evaluated for the current subplot.

Implementation:
The fix was implemented as proposed by the analysis. Implementation tests were passed successfully.

Documentation:
Not needed - Bug fix.

Tests:
The fix was added to the automatic tests. No deviation detected. Bug fix implemented successfully.

Discussion

  • Erik Hänel

    Erik Hänel - 2018-03-01
    • status: open --> accepted
     
  • Erik Hänel

    Erik Hänel - 2018-03-01
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -7,3 +7,11 @@
            subplot
            plot exp(x) -set nologscale
        endcompose
    
    +    
    +**Analysis:**
    +
    +**Implementation:**
    +
    +**Documentation:**
    +
    +**Tests:**
    
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2018-03-04
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -9,6 +9,7 @@
        endcompose
    
     **Analysis:**
    +This problem can be fixed by introducing superglobal parameters, which are also evaluated in multiplot layout and standard global parameters, which are only evaluated for the current subplot.
    
     **Implementation:**
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2018-03-04
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -12,7 +12,9 @@
     This problem can be fixed by introducing superglobal parameters, which are also evaluated in multiplot layout and standard global parameters, which are only evaluated for the current subplot.
    
     **Implementation:**
    +The fix was implemented as proposed by the analysis. Implementation tests were passed successfully.
    
     **Documentation:**
    +Not needed - Bug fix.
    
     **Tests:**
    
    • status: implementing --> testing
     
  • Erik Hänel

    Erik Hänel - 2018-03-08
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -18,3 +18,4 @@
     Not needed - Bug fix.
    
     **Tests:**
    +The fix was added to the automatic tests. No deviation detected. Bug fix implemented successfully.
    
    • status: testing --> fixed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB