bugGNU Octave - Bugs: bug #44011, setting visible property on call...

 
 

bug #44011: setting visible property on call to plot function creates figure window

Submitter:  CarnĂ« Draug <carandraug>
Submitted:  Thu 15 Jan 2015 11:52:33 AM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.8.2 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Thu 15 Jan 2015 09:36:38 PM UTC, comment #1: 

This is the correct behavior.  When you call a graphics object routine and add PROPERTY/VALUE pairs those parameters are passed to the object being created.  The example code uses plot whose base graphics object is a line.  You can check this with the following code.


h = plot (1:10, "visible", "off");
get (h, {"type"; "visible"})
ans =
{
  [1,1] = line
  [1,2] = off
}


If you need an invisible figure you will have to start by creating the invisible figure object.


Rik <rik5>
Group administrator
Thu 15 Jan 2015 11:52:33 AM UTC, original submission:  

The following works nicely to create plots without creating actual figure windows:


figure ("visible", "off");
plot (sin (1:0.1:50))


However, setting the visible property in the arguments to plot, will still create a window:


plot (sin (1:0.1:50), "visible", "off");


The problem of this is that creating a window (even if empty), with graphics_toolkit and no actual graphics server, it will set term to dumb with a empty window.

Carnë Draug <carandraug>
Group Member

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by carandraug (Submitted the item)
  •  

    Votes

    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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

    History

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-01-15 rik5 Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.16-2753.
    Corresponding source code