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

  • SEARCH
  • Home
  • 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 8640643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T11:19:48+00:00 2026-06-12T11:19:48+00:00

I am using the following code to find the position of the xlabel in

  • 0

I am using the following code to find the position of the xlabel in a figure of matlab.

xlabel('X');
get(get(gca,'XLabel'),'Position');

which gives me some coordinates (0.4981 -0.0669 1.0001). I think that coordinate is just the position of the top-left point of the label. So how do I found the bound for the label if I know the fontsize only?

  • 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-06-12T11:19:50+00:00Added an answer on June 12, 2026 at 11:19 am

    Text objects have an “Extent” property:

    Extent

    Position and size of text. A four-element vector that defines the size
    and position of the text string:

    [left,bottom,width,height]
    

    If the Units property is data (the default), left and bottom are the
    x- and y-coordinates of the lower left corner of the text Extent.

    For all other values of Units, left and bottom are the distance from
    the lower left corner of the axes Position rectangle to the lower left
    corner of the text Extent. width and height are the dimensions of the
    Extent rectangle. All measurements are in units specified by the Units
    property.

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

Sidebar

Related Questions

Following is the code which i am using to find the latitude longitude and
I am using the following jQuery code to find the position of the active
OK, I've been using the following code to find any URLS in the text
I using following code: var search = 'test'; if ($('#sku').find(search) ){ //alert(search); $(document).find(search).css('color','red'); <TABLE>
Using following code I try to get updated list of checkbuttons' corresponding text values,
I am using following code to get bitmap from url. This function is used
I am using following code to get source for image in wpf (image is
I'm using the following code to scroll a layer according to mouse position: $(.icons).animate({scrollTo:x},duration);
In the following code I am using XPath to find all of the matching
I am running the following code trying to find particular information in some HTML.

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.