[R] text on curve
Berry, Charles
ccberry @end|ng |rom he@|th@uc@d@edu
Tue Sep 22 19:06:51 CEST 2020
> On Sep 22, 2020, at 1:10 AM, Jinsong Zhao <jszhao using 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.
More information about the R-help
mailing list