bugGNU Octave - Bugs: bug #55562, Spacing of title text to upper...

 
 

bug #55562: Spacing of title text to upper boundary of plot canvas is too small

Submitted by:  Rik <rik5>
Submitted on:  Thu 24 Jan 2019 06:59:58 PM UTC  
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 25 Jan 2019 04:44:10 PM UTC, comment #3:

@Sid: I agree with Michael that this is probably not the bug to begin exploring Octave with. Generally, it is easiest to start with documentation bugs, next with bugs written in m-files in Octave's own language, then with bugs in Octave C++ code, and finally with bugs linking Octave with other libraries in Fortran, C++, C, etc.

This bug is in the C++ plotting system and, while simple to describe and demonstrate, it is probably going to be difficult to determine the best location to make the fix.

As an example of a possible better bug to start with, see bug #55570. For this, you could start with

This will drop you in to a debugger precisely at the point where Octave failed and you can then inspect variables and sort out why things failed and move upwards in the function to see how variables came to have the values they do.

Rik <rik5>
Project Administrator
Fri 25 Jan 2019 01:43:37 PM UTC, comment #2:

@Sid: Good to have you taking an interest. For the purpose
of learning the development flow this plotting bug is
OK. But, plotting is definitely not one of the "easier"
parts of any system, and certainly not in Octave.

A good place to start would be to experiment with drawing
plots to see under what conditions this bug shows up.
And, of course, keep track of what changes are suggested and
how the patches are processed and tested.

Michael Godfrey <godfrey>
Project Member
Fri 25 Jan 2019 01:01:36 PM UTC, comment #1:

Hello, I'm an undergraduate and new to open source. I'd really like to be able to contribute to this organization, but I'm facing difficulty in finding inroads where I can begin. Could you guide me with solving this bug (or some easy bug)? I'd continue trying to solve other bugs once I understand the flow.

Sid <bear_my_wrath_>
Thu 24 Jan 2019 06:59:58 PM UTC, original submission:

When the title text is large in the Y-direction, either because the font is large or the text itself appears on multiple lines, then the text is placed right on the upper boundary of the plot canvas. This isn't visually appealing, and Matlab does a better job of leaving a small gap. Octave does leave a gap between the bottom of the title text and the plot axes, so this padding can be coded.

Sample code to reproduce:

Rik <rik5>
Project Administrator

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #46090:  tst_title_spc.m added by rik5 (73B - text/x-matlab)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-01-24 rik5 Attached File- => Added tst_title_spc.m, #46090

    Back to the top


    Powered by Savane 3.4