Cheers Ista,

I thought 'labels' and 'colors' must have been accessible some how.

Thank you very much for showing how to access them,

Karl

On 10/7/2010 7:26 PM, Ista Zahn wrote:
Hi Kari,

On Thu, Oct 7, 2010 at 12:05 PM, Karl Brand<k.br...@erasmusmc.nl>  wrote:
Esteemed UseRs and DevelopeRs,

Just coming to terms with the very attractive proportional venn gernator,
venneuler(), but would like to customize a few things.

Is it possible to-

Say v is a VennDiagram:

-suppress all circle labels?

v$labels<- rep("", length(v$labels)

-suppress only certain circle labels?

v$labels<- c("A", "", "C") ## don't print label for B

-print specific text strings at specified locations within the circles? and
unions?

text(.5, .5, "my text here") will print "my text here" right in the
middle of the graph. Adjusting the coordinates will adjust the
location. You can use v$centers and v$diameters to position text
relative to the center of the circles, but I'm not sure how to
automatically find the unions. You could do it by trial and error.

-specify circle colors?

v$colors<- c(.1, .5, .9)

-specify label font, size&  color?


see ?text

Best,
Ista

All thoughts and response's greatly appreciated, cheers,

Karl

--
Karl Brand<k.br...@erasmusmc.nl>
Department of Genetics
Erasmus MC
Dr Molewaterplein 50
3015 GE Rotterdam
P +31 (0)10 704 3409 | F +31 (0)10 704 4743 | M +31 (0)642 777 268

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.





--
Karl Brand <k.br...@erasmusmc.nl>
Department of Genetics
Erasmus MC
Dr Molewaterplein 50
3015 GE Rotterdam
P +31 (0)10 704 3409 | F +31 (0)10 704 4743 | M +31 (0)642 777 268

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to