bugGNU Octave - Bugs: bug #58120, legend() causes most of the plot...

 
 

bug #58120: legend() causes most of the plot to be drawn offscreen:

Submitter:  deego <deego>
Submitted:  Sun 05 Apr 2020 07:18:52 PM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  deego Open/Closed:  * Closed
Release:  * 5.2.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 05 Apr 2020 10:10:14 PM UTC, comment #1: 

Thanks for your report. This issue and many others have been fixed in the development branch which should become Octave 6.1 soon.

Closing report as fixed.

Pantxo Diribarne <pantxo>
Group Member
Sun 05 Apr 2020 07:18:52 PM UTC, original submission:  

## legend() causes most of the plot to be drawn offscreen:

a=[1 2];

hold off; plot(a,a); legend("location", "southoutside");
## plots a vs a in a figure.
 
## Now, click on the maximize button (top right) in the figure to maximize it.

## The plot expands, you continue to see a plotted vs a.


## But, now, try plotting some other data ( in this test case, let's replot a itself):

hold off; plot(a,a); legend("location", "southoutside");

## Suddenly, the plot doesn't show any more. You see this instead:

## https://i.imgur.com/N3Gbxbb.png


## The problem doesn't show if you didn't include the legend command above.

## Octave 5.2.0 (compiled from source) on debian 10 buster/stable with xfce4.

graphics_toolkit => qt










deego <deego>

 

(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

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by deego (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-04-05 pantxo StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code