| MATLAB Central > MATLAB Newsreader > Text property, 'extent', not working properly |
|
|
|
Subject: Text property, 'extent', not working properly From: Ben Date: 18 Jul, 2009 14:14:01 Message: 1 of 19 |
|
It appears that the text property 'extent' does not correctly report the position of the text extent box, unless the position is a multiple of 4. The position it reports is close, which is probably why I can't find anyone else who has noticed this, but it is clearly wrong as demonstrated by the following script. |
|
Subject: Text property, 'extent', not working properly From: us Date: 18 Jul, 2009 19:58:01 Message: 2 of 19 |
|
"Ben " <breedlun@hotmail.com> wrote in message <h3slb9$nsa$1@fred.mathworks.com>... |
|
Subject: Text property, 'extent', not working properly From: Ben Date: 19 Jul, 2009 01:34:01 Message: 3 of 19 |
|
> as usual: it is not a ML bug... |
|
Subject: Text property, 'extent', not working properly From: Ben Date: 19 Jul, 2009 02:24:01 Message: 4 of 19 |
|
> This is slightly better than before, since the interval is constant, ... |
|
Subject: Text property, 'extent', not working properly From: Rune Allnor Date: 19 Jul, 2009 12:03:09 Message: 5 of 19 |
|
On 19 Jul, 04:24, "Ben " <breed...@hotmail.com> wrote: |
|
Subject: Text property, 'extent', not working properly From: us Date: 19 Jul, 2009 12:12:01 Message: 6 of 19 |
|
"Ben " <breedlun@hotmail.com> wrote in message <h3u041$lov$1@fred.mathworks.com>... |
|
Subject: Text property, 'extent', not working properly From: Ben Date: 19 Jul, 2009 13:07:02 Message: 7 of 19 |
|
"us " <us@neurol.unizh.ch> wrote in message <h3v2ih$6h1$1@fred.mathworks.com>... |
|
Subject: Text property, 'extent', not working properly From: us Date: 19 Jul, 2009 14:00:02 Message: 8 of 19 |
|
"Ben " <breedlun@hotmail.com> wrote in message <h3v5pm$6sa$1@fred.mathworks.com>... |
|
Subject: Text property, 'extent', not working properly From: Ben Date: 19 Jul, 2009 14:52:01 Message: 9 of 19 |
|
Ok, I modified my code to include your suggestions: |
|
Subject: Text property, 'extent', not working properly From: matt dash Date: 19 Jul, 2009 15:43:01 Message: 10 of 19 |
|
|
|
Subject: Text property, 'extent', not working properly From: Ben Date: 19 Jul, 2009 16:22:01 Message: 11 of 19 |
|
"matt dash" <n.a@mail.com> wrote in message <h3veu5$739$1@fred.mathworks.com>... |
|
Subject: Text property, 'extent', not working properly From: matt dash Date: 19 Jul, 2009 17:10:02 Message: 12 of 19 |
|
"Ben " <breedlun@hotmail.com> wrote in message |
|
Subject: Text property, 'extent', not working properly From: Rune Allnor Date: 19 Jul, 2009 17:23:39 Message: 13 of 19 |
|
On 19 Jul, 18:22, "Ben " <breed...@hotmail.com> wrote: |
|
Subject: Text property, 'extent', not working properly From: us Date: 19 Jul, 2009 18:02:01 Message: 14 of 19 |
|
Rune Allnor <allnor@tele.ntnu.no> wrote in message <2f4d4d0b-44d5-4ab2-b4bb-82d776a1655c@g31g2000yqc.googlegroups.com>... |
|
Subject: Text property, 'extent', not working properly From: Matt Fig Date: 19 Jul, 2009 19:25:03 Message: 15 of 19 |
|
I saw a similar issue before when trying to use centimeters. |
|
Subject: Text property, 'extent', not working properly From: Ben Date: 19 Jul, 2009 20:00:02 Message: 16 of 19 |
|
"Matt Fig" <spamanon@yahoo.com> wrote in message <h3vrue$mvb$1@fred.mathworks.com>... |
|
Subject: Text property, 'extent', not working properly From: Matt Fig Date: 19 Jul, 2009 20:09:02 Message: 17 of 19 |
|
Just to be clear: Matt Dash and I are two different people. |
|
Subject: Text property, 'extent', not working properly From: Ben Date: 20 Jul, 2009 15:27:01 Message: 18 of 19 |
|
"Matt Fig" <spamanon@yahoo.com> wrote in message <h3vugu$fk9$1@fred.mathworks.com>... |
|
Subject: Text property, 'extent', not working properly From: Rune Allnor Date: 20 Jul, 2009 16:15:03 Message: 19 of 19 |
|
On 20 Jul, 17:27, "Ben " <breed...@hotmail.com> wrote: |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| rounding errors | Ben | 19 Jul, 2009 16:16:52 |
| quantization | us | 19 Jul, 2009 10:04:07 |
| nobug | Matt Fig | 18 Jul, 2009 16:51:09 |
| axis | us | 18 Jul, 2009 15:59:05 |
| code | us | 18 Jul, 2009 15:59:05 |
| axes | us | 18 Jul, 2009 15:59:05 |
| graphics handle | us | 18 Jul, 2009 15:59:05 |
| text extent pro... | Ben | 18 Jul, 2009 10:19:03 |
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.
Contact us at files@mathworks.com