I suggest strwidth() [Off Topic]

posted by Helmut Homepage – Vienna, Austria, 2022-04-25 11:26 (522 d 18:42 ago) – Posting: # 22940
Views: 5,946

Hi ElMaestro,

❝ I have a dynamic text s. I am going to put it on a plot. But I need to know if s at a given set of parameters and setting fits onto the plot within a width of dx units on the horizontal axis as one line.


I see. You create the plot first and then strwidth(s) and strheight(s) will give you what you need.

Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes

Complete thread:

UA Flag
Activity
 Admin contact
22,763 posts in 4,775 threads, 1,627 registered users;
13 visitors (0 registered, 13 guests [including 7 identified bots]).
Forum time: 06:09 CEST (Europe/Vienna)

We should not speak so that it is possible
for the audience to understand us,
but so that it is impossible
for them to misunderstand us.    Quintilian

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5