문제

I have a scatter plot with x values ranging from 0.0 to 1.0. I'd like to add one vertical box plot in correspondence of x=0. Do you have any ideas on how to do that?

I also thought about inverting the actions, i.e., starting from a box plot and then adding points, lines and whatever else, but in this case I need the box plot to occupy just the space above the x=0 coordinate.

도움이 되었습니까?

해결책

you can do that with base graphics.

First plot the scatter data; then compute the boxplot and specify the location using the add and at statements.

see help(boxplot)

다른 팁

t=2k;Xk. So for box plots, y follows 2k is the vertical box plots.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top