[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: |
Hg200 |
Subject: |
[Octave-bug-tracker] [bug #58956] Empty plot for certain xlim / ylim settings |
Date: |
Fri, 14 Aug 2020 14:12:24 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
URL:
<https://savannah.gnu.org/bugs/?58956>
Summary: Empty plot for certain xlim / ylim settings
Project: GNU Octave
Submitted by: hg200
Submitted on: Fri 14 Aug 2020 06:12:22 PM UTC
Category: Plotting with OpenGL
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name: hg200
Originator Email:
Open/Closed: Open
Release: other
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
The following code creates an empty plot. I.e. the axes and additional graphic
objects are not displayed. Affects Linux development branch, Windows MXE
Octave 5.2.0 and an intermediate version of the stable MXE Octave branch.
In Matlab 2018, the "dot" and the axis are visible:
++
plot (0, 0, "ro");
daspect ([1, 1, 1]);
ylim ([-1e5, 3e5]);
xlim ([-1e5, 1e5]);
--
We can "heal" the plot by doing the following adjustment:
++
plot (0, 0, "ro");
daspect ([1, 1, 1e6]);
ylim ([-1e5, 3e5]);
xlim ([-1e5, 1e5]);
--
Sometimes but not always this also "heals" the plot:
++
plot (0, 0, "ro");
daspect ([1, 1, 1]);
ylim ([-1e5, 1e5]);
xlim ([-1e5, 1e5]);
--
And in this variant, the plot is empty too:
++
hold on;
axis equal;
ylim ([-1e5, 3e5]);
xlim ([-1e5, 1e5]);
plot (0, 0, "ro");
--
I don't get any gl-renderer warnings.
Please: Can anybody can reproduce?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58956>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58956] Empty plot for certain xlim / ylim settings,
Hg200 <=
- [Octave-bug-tracker] [bug #58956] Empty plot for certain xlim / ylim settings, Doug Stewart, 2020/08/14
- [Octave-bug-tracker] [bug #58956] Empty plot for certain xlim / ylim settings, Dmitri A. Sergatskov, 2020/08/14
- [Octave-bug-tracker] [bug #58956] Empty plot for certain xlim / ylim settings, Hg200, 2020/08/16
- [Octave-bug-tracker] [bug #58956] Empty plot for certain xlim / ylim settings, Philip Nienhuis, 2020/08/16
- [Octave-bug-tracker] [bug #58956] Empty plot for certain xlim / ylim settings, Hg200, 2020/08/22
- [Octave-bug-tracker] [bug #58956] Empty plot for certain xlim / ylim settings, Markus Mützel, 2020/08/24
- [Octave-bug-tracker] [bug #58956] Empty plot for certain xlim / ylim settings, Hg200, 2020/08/24
- [Octave-bug-tracker] [bug #58956] Empty plot for certain xlim / ylim settings, Markus Mützel, 2020/08/28
- [Octave-bug-tracker] [bug #58956] Empty plot for certain xlim / ylim settings, Hg200, 2020/08/29