I think using base graphics you would need to use numerical vectors to set the 
bubble positions.  However there is not reason that you could not suppress the 
axis labeling and apply your own.

This code does the first part using circles. There are probably better ways to 
do it but this should work.






See ?par xaxt and yaxt to suppress the labeling and have look at axis for how 
to add the category labels

--- On Thu, 4/14/11, Jurgens de Bruin <debrui...@gmail.com> wrote:

> From: Jurgens de Bruin <debrui...@gmail.com>
> Subject: [R] Categorical bubble plot
> To: r-help@r-project.org
> Received: Thursday, April 14, 2011, 9:48 AM
> Hi,
> 
> I do not have much R experience just the basics, so please
> excuse
> any obvious questions.
> 
> I would like to create bubble plot that have Categorical
> data on the x and y
> axis and then the diameter if the bubble the value related
> to x and y.
>  Attached to the email is a pic of what I would like to
> do.
> 
> I do hope someone can help me.
> 
> 
> -- 
> Regards/Groete/Mit freundlichen
> Grüßen/recuerdos/meilleures salutations/
> distinti saluti/siong/duì yú/привет
> 
> Jurgens de Bruin
> 
> -----Inline Attachment Follows-----
> 
> ______________________________________________
> 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.
>

______________________________________________
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