bugGNU Octave - Bugs: bug #47788, plotting jagged line with large...


bug #47788: plotting jagged line with large numbers; datetick generates large tic marks

Submitter:  Guan <xyzhaoguan>
Submitted:  Tue 26 Apr 2016 06:39:37 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:  * 4.0.2 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Tue 26 Apr 2016 06:53:19 PM UTC, comment #1: 

Thanks for the thorough bug report. Yes, this is a known limitation of the OpenGL plotting capabilities of Octave at this point. See bug #32980 (and its other duplicates) for more background.

Mike Miller <mtmiller>
Group Member
Tue 26 Apr 2016 06:39:37 PM UTC, original submission:  

I guess there is a roundup error in OpenGL plotting engine.

The following code generates ugly plots.

xt = 700000:0.1:700001
yt = 8000000:0.1:8000001
plot(xt,yt,'.-'); %% jagged line, tics are not equally spaced

xt = 700000:0.1:700001
plot(xt,yt,'.-')   %% jagged line
datetick('x',15)  %% datetick generates long tick marks

This happens for both QT and fltk in windows 7.

Guan <xyzhaoguan>


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

Attach Files:

No files currently attached


   bug dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by xyzhaoguan (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
    2016-04-26 mtmiller StatusNone Duplicate
        Open/ClosedOpen Closed
        Operating SystemMicrosoft Windows Any
        Dependencies- Depends on bugs #32980

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code