R-2D绘制人体图 [英] R - plot human body in 2d

查看:136
本文介绍了R-2D绘制人体图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有一个程序包可以绘制人体轮廓的2D表示形式?在2D模式下,在任何时候绘制正面/背面/侧面可能是最简单的方法.输出将类似于以下内容(尽管这不是此类图的最佳用法):

I was wondering if there is a package to plot a 2D representation of the outline of a human body? Being in 2D, plotting either the front/back/side at any one time would presumably be the easiest way to accomplish this. The output would be something similar to this (though this is not the best use of such a diagram):

来源: http://emj.bmj.com/content/20 /5/434.full

理想情况下,以body.map(regions="left.hand")的形式绘制数据子集的方法与在世界上使用map(regions="Australia")进行绘制一样是可能的.在这方面,将这样的模型基于maps软件包是否合适?

Ideally, plotting a subset of data as is done for the world with map(regions="Australia") would be possible in the form body.map(regions="left.hand"). In that respect, would it be appropriate to base such a model on the maps package?

推荐答案

我刚刚在clker.com上查看了矢量车身图形,如果您搜索"body",则会看到很多可能的SVG文件,您可以阅读这些文件在并绘图.

I just had a look on clker.com for vector body graphics, and if you search for 'body' you see a lot of possible SVG files you could read in and plot.

然后我发现了这个:

http://www.clker.com/clipart-29915.html

还链接到许多派生的剪贴画",显示带有其他零件轮廓的相似主体.它似乎只是躯干的上部,但是它是一个分层良好的SVG文件,其中所有位都可以单独绘制.

which also links to a lot of 'Derived cliparts' showing similar bodies with other parts outlines. It only seems to be the upper torso, but its a nicely-layered SVG file where all the bits could be drawable individually.

也有很多轮廓的人体模型(包括我刚刚发现的在Voyager或Pioneer太空探测器牌匾上的男性形象!)和骨骼,包括一些贴有很好标签的骨骼印象深刻.

There's also plenty of outline body figures (including, I just found, the male figure that went on the Voyager or Pioneer space probe plaques!) and skeletons, including some very well labelled skeletons impressed.

应该可以将所有这些组织到某种"body.map"功能中-从SVG文件中读取,选择组件,绘制-但需要仔细考虑并根据需要进行更多说明.

Organising all this into some kind of "body.map" function should be possible - read in from SVG file, select components, plot - but requires some careful thinking and more specification according to requirements.

这篇关于R-2D绘制人体图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆