bugGNU Octave - Bugs: bug #55408, empty plot after 'axis equal;...


bug #55408: empty plot after 'axis equal; xlim(...)'

Submitter:  Muhali <muhali>
Submitted:  Mon 07 Jan 2019 11:40:57 AM UTC
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * 4.4.1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Mon 07 Jan 2019 05:02:08 PM UTC, comment #3: 

Marking as confirmed.  I switched the Catgeory to "Plotting with OpenGL" since it works if you change to the gnuplot toolkit.  It seems very likely that this has to do wit the automatic routines that work not to plot unnecessary data.  In this case, the y-data is outside the axis limits so it seems to think that it doesn't need to pass the data to OpenGL for rendering.

Rik <rik5>
Group administrator
Mon 07 Jan 2019 03:37:47 PM UTC, comment #2: 

I understand xlim as being a property of the axis, independent of the data, apparently in accordance with Matlab which does show the line after the xlim command.

Muhali <muhali>
Mon 07 Jan 2019 12:16:36 PM UTC, comment #1: 

You only have 2 points to plot and one point is outside your range , so how do you expect to plot a line?

Doug Stewart <dastew>
Mon 07 Jan 2019 11:40:57 AM UTC, original submission:  


plot([1 2], [1 3]) ;
axis equal
xlim([1 2]) ;

gives me an empty plot. Interestingly, putting 'axis normal' gives it back.

Muhali <muhali>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by dastew (Posted a comment)
  • -email is unavailable- added by muhali (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-01-07 rik5 CategoryNone Plotting with OpenGL
        StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code