gforge / forestplot

Advanced forest plots in R using grid graphics
44 stars 15 forks source link

Changing multiple box colors #27

Closed cwine closed 4 years ago

cwine commented 5 years ago

There is an issue when editing the box colors to all be different.

When adding to forestplot(), col = fpColors(box = c("black", "blue", "red")) it will make all the boxes black.

In fact I found that it will always make all the colors whatever the first entry in the color vector is, so if instead I made it col = fpColors(box = c("red", "blue", "black")) then they would all show up as red.

gforge commented 5 years ago

This is a rather rare occurrence and I've so far recommended that you can set custom drawing functions. If you post a full example with some kind of paint-generated graphic I can see if I can add this functionality.

gforge commented 4 years ago

Closing this due to lack of activity