octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: text plot objects and auto-range


From: Rik
Subject: Re: text plot objects and auto-range
Date: Sun, 12 Mar 2017 23:03:23 -0700

On 03/12/2017 12:59 AM, address@hidden wrote:
Subject:
text plot objects and auto-range
From:
Daniel J Sebald <address@hidden>
Date:
03/11/2017 01:17 PM
To:
address@hidden
List-Post:
<mailto:address@hidden>
Content-Transfer-Encoding:
7bit
Precedence:
list
MIME-Version:
1.0
Message-ID:
<address@hidden>
Content-Type:
text/plain; charset=utf-8; format=flowed
Message:
1

Topics: text autorange auto-range autoscale auto-scale

Just wondering if "text" graph objects should be included in auto-ranging.  For example,

text(5,5,"hello")

opens a new figure window, but the text isn't included within the view. The text is only one point, so auto-ranging might have to default to a width of one, but Octave could pick that one point (5,5) as the center of the range.

Does Matlab autoscale to include text objects?

I suppose it might be nice to implement this if it isn't too difficult.  The issue will be finding the position property and extracting the x, y, z information before proceeding with the rest of the algorithm.

--Rik

reply via email to

[Prev in Thread] Current Thread [Next in Thread]