| 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 20 |
|
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 20 |
|
"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 20 |
|
> 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 20 |
|
> 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 20 |
|
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 20 |
|
"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 20 |
|
"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 20 |
|
"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 20 |
|
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 20 |
|
|
|
Subject: Text property, 'extent', not working properly From: Ben Date: 19 Jul, 2009 16:22:01 Message: 11 of 20 |
|
"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 20 |
|
"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 20 |
|
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 20 |
|
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 20 |
|
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 20 |
|
"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 20 |
|
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 20 |
|
"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 20 |
|
On 20 Jul, 17:27, "Ben " <breed...@hotmail.com> wrote: |
|
Subject: Text property, 'extent', not working properly From: Billy Date: 21 Mar, 2010 07:23:22 Message: 20 of 20 |
|
"us " <us@neurol.unizh.ch> wrote in message <h3v8t2$rl$1@fred.mathworks.com>... |
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 |
Contact us at files@mathworks.com
