Menu

#734 Add the possibility to define output pixel size

v1.1.x
closed
v1.1.4
New Functionality
2022-09-18
2022-09-05
Erik Hänel
No

Add the possibility to define the plot output dimensions directly (if written to a file), e.g. via size={x,y} like in layouts. This shall automatically calculate the corresponding aspect to create the graph window with the correct aspect.

Analysis:

This can be implemented quite easily by using the logic already present for streamto={WINID,ITEMID}. The plot size will only take effect, if the plot is directly saved to HDD. The GraphViewer will only use the calculated aspect ratio.

Implementation:

  • Implementation: Implemented as propsed by the analysis.
  • Revision: [r1207]
  • Implementation test: New option was used to update all plots, which are used for the documentation.

Documentation:

  • [x] ChangesLog updated
  • [x] Code changes commented
  • Documentation articles:
    • [x] corresponding documentation articles updated
    • [ ] new documentation articles created
    • [ ] not needed
  • Language files:
    • [x] corresponding language files updated
    • [ ] not needed

Tests:

Added the new feature to the automatic SW tests. No deviation detected.

Related

Commit: [r1207]

Discussion

  • Erik Hänel

    Erik Hänel - 2022-09-05
    • labels: --> plotting, internal
    • status: open --> accepted
    • Version: v1.1.5 --> v1.1.4
     
  • Erik Hänel

    Erik Hänel - 2022-09-05
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,23 @@
     Add the possibility to define the plot output dimensions directly (if written to a file), e.g. via `size={x,y}` like in layouts. This shall automatically calculate the corresponding `aspect` to create the graph window with the correct aspect.
    +
    +###Analysis:
    +(*Describe, what's the issue and which changes have to be made*)
    +
    +###Implementation:
    +* Implementation: (*Describe, what you've changed*) 
    +* Revision: [rXXX]
    +* Implementation test: (*Describe the type of test, which you performed, and if it was successful*)
    +
    +###Documentation:
    +* [ ] ChangesLog updated
    +* [ ] Code changes commented
    +* **Documentation articles:**
    
    +    * [ ] corresponding documentation articles updated
    +    * [ ] new documentation articles created
    +    * [ ] not needed
    +* **Language files:**
    +    * [ ] corresponding language files updated
    +    * [ ] not needed
    +
    +###Tests:
    +(*Describe, which tests you performed and their outcome*)
    
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2022-09-06
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,7 +1,7 @@
     Add the possibility to define the plot output dimensions directly (if written to a file), e.g. via `size={x,y}` like in layouts. This shall automatically calculate the corresponding `aspect` to create the graph window with the correct aspect.
    
     ###Analysis:
    -(*Describe, what's the issue and which changes have to be made*)
    +This can be implemented quite easily by using the logic already present for `streamto={WINID,ITEMID}`. The plot size will only take effect, if the plot is directly saved to HDD. The GraphViewer will only use the calculated aspect ratio.
    
     ###Implementation:
    
     * Implementation: (*Describe, what you've changed*) 
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2022-09-06
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,19 +4,19 @@
     This can be implemented quite easily by using the logic already present for `streamto={WINID,ITEMID}`. The plot size will only take effect, if the plot is directly saved to HDD. The GraphViewer will only use the calculated aspect ratio.
    
     ###Implementation:
    -* Implementation: (*Describe, what you've changed*) 
    -* Revision: [rXXX]
    -* Implementation test: (*Describe the type of test, which you performed, and if it was successful*)
    +* Implementation: Implemented as propsed by the analysis.
    +* Revision: [r1207]
    +* Implementation test: New option was used to update all plots, which are used for the documentation.
    
     ###Documentation:
    -* [ ] ChangesLog updated
    -* [ ] Code changes commented
    +* [x] ChangesLog updated
    +* [x] Code changes commented
    
     * **Documentation articles:**
    -    * [ ] corresponding documentation articles updated
    +    * [x] corresponding documentation articles updated
         * [ ] new documentation articles created
         * [ ] not needed
     * **Language files:**
    -    * [ ] corresponding language files updated
    +    * [x] corresponding language files updated
         * [ ] not needed
    
     ###Tests:
    
    • status: implementing --> testing
     

    Related

    Commit: [r1207]

  • Erik Hänel

    Erik Hänel - 2022-09-18
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -20,4 +20,4 @@
    
         * [ ] not needed
    
     ###Tests:
    -(*Describe, which tests you performed and their outcome*)
    +Added the new feature to the automatic SW tests. No deviation detected.
    
    • status: testing --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB