[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58956] Empty plot for certain xlim / ylim set
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #58956] Empty plot for certain xlim / ylim settings |
Date: |
Mon, 4 Apr 2022 03:07:01 -0400 (EDT) |
Follow-up Comment #31, bug #58956 (project octave):
At least on the system that I could test, it *does* make a difference. Afaict,
we are using double precision interfaces of the OpenGL function (e.g.,
`glMultMatrixd` or `glVertex3d`). I'd guess that the transformations are still
done in double precision. The result is converted to single precision before
it is rendered.
So taking your example from comment #28, it looks like the effective code
would look more like the following with your patch:
t = now-1:(1/1440):now;
x = -cos(2*pi*t) + rand(size(t))/10;
t = single(t - fix(now));
plot(t,x)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58956>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/