简体   繁体   中英

Using plot titles in other languages

Macs and androids have non-english keyboards that are easy to integrate and use.

How to use non-english, non-latin scripts in plots?

plot(1:10,main="हिन्दी नाम")

This gives me empty boxes at title (latest Rstudio on latest mac).

After some (more) trial and error, here is a possible direction:

par(family="Kohinoor Devanagari")
plot(1:10,main="हिन्दी नाम")

This does the job somewhat! But not quite satisfactory as the words don't show up properly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM