bugGNU Octave - Bugs: bug #55500, print modifies view of plot

 
 

bug #55500: print modifies view of plot

Submitter:  Rik <rik5>
Submitted:  Thu 17 Jan 2019 05:44:55 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 23 Jan 2019 07:58:22 PM UTC, comment #2: 

Just noticed that this report was a duplicate of an older one, bug #52196.

Closing this one as a duplicate.

Pantxo Diribarne <pantxo>
Group Member
Fri 18 Jan 2019 03:14:53 PM UTC, comment #1: 

Confirmed. If I continuously change the position I see that the rendered figure oscillates between two states, none of which are identical to the original (correct, I assume):


hf = figure ();
pos = get (hf, "position");
demo camva 1
for ii = 1:10
  set (hf, "position", [pos(1:3) pos(4)+1])
  pause (1)
  set (hf, "position", [pos(1:3) pos(4)-1])
  pause (1)
endfor
set (hf, "position", pos);


Pantxo Diribarne <pantxo>
Group Member
Thu 17 Jan 2019 05:44:55 PM UTC, original submission:  

This was discovered in bug #55481 where differences between the plotting engines of Octave and Matlab were compared.  In the cases below, the onscreen result is correct, but when printed to a graphic png file the results are different.

Other noticeable differences are in
- demo camlookat 1: different zoom levels (I can't reproduce on screen)
- demo camorbit 1: different view angle
- demo camtarget 1: different plotboxaspectratio
- demo camva 1: completely different zoom level between fltk and qt (I can't reproduce on screen)
- demo camzoom 1: completely different zoom level between fltk and qt (I cant't reproduce on screen)

This may be related to updating the OpenGl transforms ahead of printing.  One thing I notice is that if I use the mouse to rotate the plot the original view is also lost.  Similarly, if I use the mouse to sligthly enlarge the plot window then the plot snaps to a new view.

Simple example to reproduce


demo camva 1
## Use mouse to rotate plot



Rik <rik5>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-01-23 pantxo StatusConfirmed Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #52196
    2019-01-18 pantxo StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code