bugGNU Octave - Bugs: bug #50217, Setting default graphics...

 
 

bug #50217: Setting default graphics properties for text has no effect

Submitted by:  Georg Wiora <gwiora>
Submitted on:  Fri 03 Feb 2017 09:58:17 AM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: InvalidAssigned to: None
Originator Name: gwioraOpen/Closed: Closed
Release: 4.2.0Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 03 Feb 2017 12:50:03 PM UTC, comment #2:

Thank you very much for your explanations!

Georg Wiora <gwiora>
Fri 03 Feb 2017 12:28:07 PM UTC, comment #1:

Hi,

Setting default properties for text objects does work for "regular" text objects:

Axes labels are handled differently: their properties are copied from their corresponding axes font* properties.
I checked in ML and it behaves the same way:

So something like this will achieve what you want:

This will set ticklabels size=13 and x(yz)labels size=14.3. The ratio between those(here 1.1) is given by the "label(title)fontsizemultiplier" property.

Closing report as invalid.

Pantxo Diribarne <pantxo>
Project Member
Fri 03 Feb 2017 09:58:17 AM UTC, original submission:

Using the set(0,'default...') to set default values for text properties seems not hot have an effect, at least under qt.

Setting the following (for example in .octaverc) has no effect on new plots:

Test it by calling

The result is independent from the default values set. You can only influence the font setting by directly specifying 'fontname' and 'fontsize' properties in xlabel() and title().

Georg Wiora <gwiora>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by gwiora (Submitted the item)
  • -unavailable- added by gwiora
  •  

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

    Only project members can vote.

     

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

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 03 Feb 2017 12:28:07 PM UTCpantxoStatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Fri 03 Feb 2017 09:58:17 AM UTCgwioraCarbon-Copy-=>Added gwiora

    Back to the top


    Powered by Savane 3.1-cleanup1