bugGNU Octave - Bugs: bug #48718, plot command clobbers axis...

 
 

bug #48718: plot command clobbers axis "position" property with "hold on"

Submitted by:  Doug Stewart <dastew>
Submitted on:  Sun 07 Aug 2016 09:42:31 PM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: ConfirmedAssigned to: None
Originator Name: Doug StewartOpen/Closed: Open
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Fri 11 Aug 2017 12:44:28 PM UTC, comment #6:

This bug is still present.
Hg id =92a3b165689e

Doug Stewart <dastew>
Sun 19 Mar 2017 11:01:34 PM UTC, comment #5:

This is really odd, and ugly. Something is clobbering the "position" property of the axes.

Try this test code:

When I run it I get the following.

Not only is the y-position of the axes a huge 3.5e12, but the height is a negative number. That is just impossible.

The plot looks normal to me after I restore the previously saved position property with the final set command.

Rik <rik5>
Project Administrator
Fri 24 Feb 2017 12:17:06 PM UTC, comment #4:

this is still not fixed !!!

Doug Stewart <dastew>
Mon 08 Aug 2016 04:47:37 AM UTC, comment #3:

This will make an empty plot for me:

Dmitri.

Dmitri A. Sergatskov <dasergatskov>
Mon 08 Aug 2016 04:40:12 AM UTC, comment #2:

I can reproduce it with a single plot:

It looks like the issue with OpenGL using floats.

Dmitri.

Dmitri A. Sergatskov <dasergatskov>
Mon 08 Aug 2016 04:12:11 AM UTC, comment #1:

Running this script in windows, I do not get a blank plot, but the attached wrong plot.

Running it with gnuplot toolkit, the figure looks OK,
but the x-labels are overlapping.
If I print the figure, the x-labels are OK (see the attached a_gnuplot.png).

I have changed the title to "wrong plot...", the OS to "any", and the category to "Plotting with OpenGL".

(file #38144, file #38145)

Avinoam Kalma <avinoam>
Project Member
Sun 07 Aug 2016 09:42:31 PM UTC, original submission:

ubuntu 16.04 and dev. and default qt graphics.

There are three things that all must happen to show this bug.
1) must have at least 2 subplots.
2) the x data range must be < 1e-3
3) the xlabel must be before the lines are drawn

With these 3 conditions then the plot is wrong( blank)

You can use this code to explore the 3 conditions.

Doug Stewart <dastew>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #38144:  a.png added by avinoam (7KiB - image/png)
file #38145:  a_gnuplot.png added by avinoam (34KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by dasergatskov (Posted a comment)
  • -unavailable- added by avinoam (Updated the item)
  • -unavailable- added by dastew (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 19 Mar 2017 11:01:34 PM UTCrik5StatusNone=>Confirmed
      SummaryWrong plot under some conditions=>plot command clobbers axis "position" property with "hold on"
    Mon 08 Aug 2016 04:12:11 AM UTCavinoamAttached File-=>Added a.png, #38144
      Attached File-=>Added a_gnuplot.png, #38145
      CategoryPlotting=>Plotting with OpenGL
      Operating SystemGNU/Linux=>Any
      SummaryBlank plot under some conditions=>Wrong plot under some conditions

    Back to the top


    Powered by Savane 3.1-cleanup1