[R] How to create a floating bar plot

Sarah Goslee sarah.goslee at gmail.com
Thu May 31 15:30:53 CEST 2012


Hi Roberto,

The R Graph Gallery is an excellent resource for this kind of
question. You can browse the thumbnails until you find something that
leads you in the right direction, like maybe:

http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=136

Sarah

On Thu, May 31, 2012 at 7:18 AM, Roberto Brunelli
<roby.brunelli at gmail.com> wrote:
> I would like to create a 'bar' plot with the following look
>
>            -            0         +
> -------------------------+----------------------
>            oooooooo************
>                                    *********
>   ooooooooo
>                        oo****
>
> where the positive and negative parts of the bar
> should have a different color.
>
> Is there any function/package supporting this kind of plot?
>
> Thanks a lot,
>
> Roberto
>

-- 
Sarah Goslee
http://www.functionaldiversity.org



More information about the R-help mailing list