bugGNU Octave - Bugs: bug #48142, the disappearance of the plotted...

 
 

bug #48142: the disappearance of the plotted lines after "axis equal"

Submitter:  None
Submitted:  Mon 06 Jun 2016 01:29:13 PM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  A Japanese Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.0.2
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 25 Oct 2018 02:44:58 PM UTC, comment #4: 

This seems to have disappeared.  Closing report.

Rik <rik5>
Group administrator
Mon 22 Oct 2018 06:42:24 PM UTC, comment #3: 

This also looks like bug #54848

Philip Nienhuis <philipnienhuis>
Group Member
Mon 22 Oct 2018 03:49:29 PM UTC, comment #2: 

@Rik: I can't reproduce this bug, neither with Qt/fltk nor with gnuplot. Can you confirm that I can close this report as "Fixed" (somehow by someone).

Pantxo Diribarne <pantxo>
Group Member
Mon 06 Jun 2016 04:35:22 PM UTC, comment #1: 

There are two different problems here.  This bug report is about issues with "axis equal".  If you are having a "freeze" with the version of Octave made by Tatsuro you should report that in a different bug report.

Steps to reproduce axis bug:


x=[0 1 1/2 0]
y=[0 0 sqrt(3)/2 0]
plot(x,y)
axis equal
## triangle disappears
axis ([-2 2 -2 2])
## Figure re-appears


The problem is most likely in gl-render.cc where Octave tries to avoid drawing lines which are outside of the current axis limits.  This speeds things up because there may be significant portions of the plot which are outside the current viewing limits.  However, there definitely seems to be something wrong here.  My last command resets the axis to encompass a very wide area around the existing triangle and cause the triangle to re-appear.

As a workaround, you can also use the gnuplot toolkit instead of qt or fltk.

Rik <rik5>
Group administrator
Mon 06 Jun 2016 01:29:13 PM UTC, original submission:  

Hello!

Octave 4.0 looks good. However, I am experiencing a strange thing in plotting.
The following example is the simplest case I have figured out. When I try to plot
a equlilateral triangle, a triangle appears in the figure window. Then, to get
the right shape, I set "axis equal". After that, the triangle disappears although
the metrics of the x-axis and y-axis are set to equal.

>> x=[0 1 1/2 0]

x =

   0.00000   1.00000   0.50000   0.00000

>> y=[0 0 sqrt(3)/2 0]

y =

   0.00000   0.00000   0.86603   0.00000

>> plot(x,y)

 I use the Japanese version of Windows 7. This also occurs on Octave 3.8.2.

Although I wrote the above report some months ago, I did not send it to you.
As I have updated my PC7s OS to Windows 10, I execute these commands and 
have the same result as that on Windows 7.

Octave 4.0.2 on the Japanese version of Windows 10 freezes when  the  commnads

>> x=[0 1 1/2 0]
>> y=[0 0 sqrt(3)/2 0]
>>plot(x,y)

are executed, and  the figure window is in no response.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  •  

    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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-10-25 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2018-10-22 pantxo Operating SystemMicrosoft Windows Any
    2016-07-06 rik5 Dependencies- bugs #46911 is dependent
    2016-06-06 rik5 StatusNone Confirmed
        Summarythe disappearnce of the plotted lines after &quot;axis equal&quot; the disappearance of the plotted lines after "axis equal"

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code