octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #47788] plotting jagged line with large number


From: Guan
Subject: [Octave-bug-tracker] [bug #47788] plotting jagged line with large numbers; datetick generates large tic marks
Date: Tue, 26 Apr 2016 18:39:38 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.87 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?47788>

                 Summary: plotting jagged line with large numbers; datetick
generates large tic marks 
                 Project: GNU Octave
            Submitted by: xyzhaoguan
            Submitted on: Tue 26 Apr 2016 06:39:37 PM GMT
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.2
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

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
yt=2:0.1:3
plot(xt,yt,'.-')   %% jagged line 
datetick('x',15)  %% datetick generates long tick marks 

This happens for both QT and fltk in windows 7.







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47788>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]