* Is it possible to have a rotated label in Metafun?
@ 2020-05-24 8:41 Otared Kavian
2020-05-25 11:39 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Otared Kavian @ 2020-05-24 8:41 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Is it possible to have a rotated label in Metafun?
2020-05-24 8:41 Is it possible to have a rotated label in Metafun? Otared Kavian
@ 2020-05-25 11:39 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2020-05-25 11:39 UTC (permalink / raw)
To: mailing list for ConTeXt users, Otared Kavian
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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-25 11:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-24 8:41 Is it possible to have a rotated label in Metafun? Otared Kavian
2020-05-25 11:39 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).