> On Sep 22, 2020, at 1:10 AM, Jinsong Zhao <jsz...@yeah.net> wrote:
>
> Hi there,
>
> I write a simple function that could place text along a curve. Since I am not
> familiar with the operation of rotating graphical elements, e.g., text,
> rectangle, etc., I hope you could give suggestions or hints on how to improve
> it. Thanks in advance.
>
> # Here is the code:
>
[code deleted]
For this kind of operation you might want to use tikz.
R has the ability to produce tikz directives and to insert raw tikz into a
'tikzDevice'.
If you search rseek.org for 'tikz' you will get plenty of good hits.
The tikz/pgf manual has examples of flowing text, IIRC.
HTH,
Chuck
p.s. this is a plain text list. Do not submit html.
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.