Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Text property, 'extent', not working properly
Date: Sun, 19 Jul 2009 01:34:01 +0000 (UTC)
Organization: Univeristy of Michigan
Lines: 30
Message-ID: <h3tt69$e99$1@fred.mathworks.com>
References: <h3slb9$nsa$1@fred.mathworks.com> <h3t9g9$fe2$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1247967241 14633 172.30.248.38 (19 Jul 2009 01:34:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 19 Jul 2009 01:34:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1397212
Xref: news.mathworks.com comp.soft-sys.matlab:556534


> as usual: it is not a ML bug...
> rather, you're snippet does not set the axis-lims correctly...
> 
Thanks for taking the time to reply to my post.   I ran your code, but unfortunately I ran into the same problem.  Here is the output from your code:

x_ext =
   23.1383   47.0745   71.0106   94.9468
   23.1383   47.0745   71.0106   94.9468
   23.1383   47.0745   71.0106   94.9468
   23.1383   47.0745   71.0106   94.9468

x_pos =
    24    48    72    96
    24    48    72    96
    24    48    72    96
    24    48    72    96

y_ext =
  422.8723  422.8723  422.8723  422.8723
  398.9362  398.9362  398.9362  398.9362
  375.0000  375.0000  375.0000  375.0000
  351.0638  351.0638  351.0638  351.0638

y_pos =
   426   426   426   426
   402   402   402   402
   378   378   378   378
   354   354   354   354

The x_pos and y_pos outputs are all spaced at 24 point intervals, but the x_ext and y_ext are at 23.9361 point intervals.  This is slightly better than before, since the interval is constant, but it's still wrong.  Maybe I'm missing something...