找回密码
 注册
查看: 1671|回复: 0

R语言:Japanese()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-16 18:19:14 | 显示全部楼层 |阅读模式
Japanese(grDevices)
Japanese()所属R语言包:grDevices

                                        Japanese characters in R
                                         日本在R字符

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

The implementation of Hershey vector fonts provides a large number of Japanese characters (Hiragana, Katakana, and Kanji).
赫尔希矢量字体的实施提供了大量的日文字符(平假名,片假名,汉字)。


Details

详情----------Details----------

Without keyboard support for typing Japanese characters, the only way to produce these characters is to use special escape sequences: see Hershey.
没有键盘输入日文字符的支持,只有这样,才能产生这些字符是使用特殊的转义序列:看到Hershey。

For example, the Hiragana character for the sound "ka" is produced by \\#J242b and the Katakana character for this sound is produced by \\#J252b.  The Kanji ideograph for "one" is produced by \\#J306c or \\#N0001.
例如,声音“KA”的平假名字符由\\#J242b和片假名这声音的性格是由\\#J252b生产。汉字象形文字的“一”是由\\#J306c或\\#N0001。

The output from demo(Japanese) shows tables of the escape sequences for the available Japanese characters.
的demo(Japanese)输出显示日文字符的转义序列表。


参考文献----------References----------



参见----------See Also----------

demo(Japanese), Hershey, text
demo(Japanese),Hershey,text


举例----------Examples----------


require(graphics)

plot(1:9, type="n", axes=FALSE, frame=TRUE, ylab="",
     main= "example(Japanese)", xlab= "using Hershey fonts")
par(cex=3)
Vf <- c("serif", "plain")

text(4, 2, "\\#J2438\\#J2421\\#J2451\\#J2473", vfont = Vf)[J2438 \ \#J2421 \ \#J2451 \ \#J2473“,vfont = VF)]
text(4, 4, "\\#J2538\\#J2521\\#J2551\\#J2573", vfont = Vf)[J2538 \ \#J2521 \ \#J2551 \ \#J2573“,vfont = VF)]
text(4, 6, "\\#J467c\\#J4b5c", vfont = Vf)[j467c \ \#J4b5c“,vfont = VF)]
text(4, 8, "Japan", vfont = Vf)
par(cex=1)
text(8, 2, "Hiragana")
text(8, 4, "Katakana")
text(8, 6, "Kanji")
text(8, 8, "English")

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-2-2 22:53 , Processed in 0.019383 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表