bugGNU Octave - Bugs: bug #44871, box off does not remove the plot's...

 
 

bug #44871: box off does not remove the plot's border (frame)

Submitter:  None
Submitted:  Sat 18 Apr 2015 09:08:08 AM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  4 Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.0.0
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 02 Jun 2015 04:46:33 PM UTC, comment #4: 

Retagging release from 4.0.0-rc3 to 4.0.0.

John W. Eaton <jwe>
Group administrator
Sat 18 Apr 2015 11:30:44 PM UTC, comment #3: 
Rik <rik5>
Group administrator
Sat 18 Apr 2015 11:13:10 PM UTC, comment #2: 

When the figure and axis backgrounds were added, the rectangles have the black border lines on by default.  Easy oversight.  Since the border is controlled separately, there is no need for these rectangles to have borders.  Changeset is attached.  Reword the summary line if you desired.


(file #33710)

Dan Sebald <sebald>
Sat 18 Apr 2015 03:21:58 PM UTC, comment #1: 

Confirmed.

Octave has been transitioning away from gnuplot since version 3.6 precisely because we don't have very good control over the output since the plotting is done in a different program.  The obvious workaround is to use the qt or fltk toolkit.

This issue may, or may not, get fixed depending on whether someone who knows the gnuplot interface code wants to wrestle with this.  The file to change will be _go_draw_axes_.m in scripts/plot/util/private.

Rik <rik5>
Group administrator
Sat 18 Apr 2015 09:08:08 AM UTC, original submission:  

With gnuplot, the command box off does not work as expected and indeed achieved with fltk and qt graphics toolkits. The plot's frame is not removed. Rather, only the ticks disappear on the upper and the right borders, but the lines themselves remain.

I posted the question to stackoverflow, where I give the following example:

graphics_toolkit gnuplot
%graphics_toolkit qt
hist(rand(1,1000))
box off
%box on


Attached is a picture that illustrates output from these commands in both qt and gnuplot.

This applies to versions 3.8.1, 3.8.2, and 4.0.0-rc3, and Windows OS as well.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #33710:  octave-box_off_djs2015apr18.patch added by sebald (2KiB - application/octet-stream)
file #33707:  sKnQN.png added by None (100KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by sebald (Updated the item)
  • -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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-06-02 jwe Release4.0.0-rc3 4.0.0
    2015-04-18 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2015-04-18 sebald Attached File- Added octave-box_off_djs2015apr18.patch, #33710
    2015-04-18 rik5 Priority5 - Normal 4
        StatusNone Confirmed
    2015-04-18 None Attached File- Added sKnQN.png, #33707

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code