Is it possible to have a rotated label in Metafun?
Hi all, In a graph which I am trying to draw with LuaMetafun, I have a variable the values of which I want to show on the graph rotated 90 degrees (or whatever other value). Is it possible to do that? An example is: numeric a, u ; u := 10mm ; a := 4.5 ; label.bot(a, (10,-0.1) scaled u) % I would like to have printed 4.5 rotated 90 degrees for instance. Thanks in advance for any help: Otared
On 5/24/2020 10:41 AM, Otared Kavian wrote:
Hi all,
In a graph which I am trying to draw with LuaMetafun, I have a variable the values of which I want to show on the graph rotated 90 degrees (or whatever other value). Is it possible to do that?
An example is:
numeric a, u ; u := 10mm ; a := 4.5 ; label.bot(a, (10,-0.1) scaled u) % I would like to have printed 4.5 rotated 90 degrees for instance.
label.bot(textext(a) rotated 45, (10,-0.1) scaled u); ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Otared Kavian