[R] RES: Symbols output
r.aluizio at gmail.com
Tue Nov 18 22:27:49 CET 2008
A fast and simple way to do that would be something like this (the example
is a gray circle)
You just have to chance the symbol (pch) and color (bg), the output will be
an EPS file, open it on an Image Editor (PhotoShop, Corel, etc) and save at
other format you want (png, jpg, tif, bmp, etc) with any resolution, the
background of the symbol will be transparent, so I recommend saving it as
tif or png!
Hope it helps...
De: r-help-bounces em r-project.org [mailto:r-help-bounces em r-project.org] Em
nome de Gareth Campbell
Enviada em: terça-feira, 18 de novembro de 2008 18:53
Para: R Help
Assunto: [R] Symbols output
I have a PCA plot that I'm writing about in the text. There were so many
symbols in different colours on it that I didn't include a legend in the
plot as it would be useless. So what I was hoping to do was to talk about
each set of replicates in the text and when I do that, use their coloured
symbol in the text. So what I want to do is to get R to create some high
quality picture files of the symbols with the colours I tell it to.
Does anyone have an idea about the best way to go about this? I created a
graph of the symbols and tried to use photoshop to cut them out, but it's
laborious and the quality is not the best. I just want small sharp symbols.
The University of Auckland
P +649 815 3670
M +6421 256 3511
E gareth.campbell em esr.cri.nz
gcam032 em gmail.com
[[alternative HTML version deleted]]
R-help em r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
More information about the R-help