Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7493989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T17:16:25+00:00 2026-05-29T17:16:25+00:00

It seems that the root object, a.k.a 0 has hidden properties in Matlab. For

  • 0

It seems that the root object, a.k.a 0 has hidden properties in Matlab. For example, DefaultTextInterpreter is one of them:

 x = get(0,'DefaultTextInterpreter');

When I use

 get(0)

I get a long list, which does not include DefaultTextInterpreter.


Even setting undocumented properties to be visible by

 set(0,'HideUndocumented','off');

does not seem to help.


How can I find all of the properties of the root object, including DefaultTextInterpreter?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T17:16:25+00:00Added an answer on May 29, 2026 at 5:16 pm

    Default properties are not hidden nor undocumented – they are available for all standard Handle Graphics properties by simply prefixing ‘Default’ to the property name, together with the object type (‘Line’, ‘Axes’ etc.). This is explained in the official documentation.

    In fact, this mechanism also works for hidden/undocumented properties, as shown for the LineSmoothing property.

    To see all the supported default properties, do as follows:

    >> get(0,'Default')
    ans = 
              defaultFigurePosition: [440 378 560 420]
                   defaultTextColor: [0 0 0]
                  defaultAxesXColor: [0 0 0]
                  defaultAxesYColor: [0 0 0]
                  defaultAxesZColor: [0 0 0]
              defaultPatchFaceColor: [0 0 0]
              defaultPatchEdgeColor: [0 0 0]
                   defaultLineColor: [0 0 0]
        defaultFigureInvertHardcopy: 'on'
                 defaultFigureColor: [0.8 0.8 0.8]
                   defaultAxesColor: [1 1 1]
              defaultAxesColorOrder: [7x3 double]
              defaultFigureColormap: [64x3 double]
            defaultSurfaceEdgeColor: [0 0 0]
             defaultFigurePaperType: 'A4'
            defaultFigurePaperUnits: 'centimeters'
             defaultFigurePaperSize: [20.98404194812 29.67743169791]
    

    Note that this does not return the undocumented defaults. You can always get the undocumented defaults directly:

    >> get(0,'DefaultLineLineSmoothing')
    ans =
    off
    

    Since I can’t help myself :-), here’s a bit of now-really-undocumented knowledge, which does not answer the OP question but it somehow related. Readers who are only interested in the original question or in purely-documented/supported stuff can safely skip this part:

    >> p = findprop(handle(gcf),'pos')
    p =
        schema.prop
    
    >> p.get
                Name: 'Position'
         Description: ''
            DataType: 'figurePositionType'
        FactoryValue: [100 100 660 520]
         AccessFlags: [1x1 struct]
             Visible: 'on'
         GetFunction: []
         SetFunction: []
    

    In this simple snippet, note that the default (FactoryValue) for the position property of the UDD hg.Figure class is different than the HG default that is returned by the root’s DefaultFigurePosition property. More information on UDD properties can be found here.

    Addendum 2013-02-13: I’ve just posted a detailed article explaining how Matlab’s Default and Factory property values work, how they relate to each other, and how they can be accessed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a root object that has a property that is a collection. For
Seems that requirements on safety do not seem to like systems that use AI
It seems that a List object cannot be stored in a List variable in
It seems that Silverlight/WPF are the long term future for user interface development with
It seems that when I use a tool (such as winmerge) to update my
I'm working on a project that has a rich object model with various sets
I have a WPF application that has just one button. When the button is
Seems that even after unchecking the option in the PyDev/Debug preferenecs pane to launch
It seems that it is impossible to capture the keyboard event normally used for
It seems that most of the installers for Perl are centered around installing Perl

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.