lets-plot-kotlin icon indicating copy to clipboard operation
lets-plot-kotlin copied to clipboard

Improve border line type experience

Open AndreiKingsley opened this issue 2 years ago • 6 comments

Now it looks awful image image

AndreiKingsley avatar Nov 02 '23 12:11 AndreiKingsley

Dotted lines look as expected , why?

alshan avatar Nov 07 '23 19:11 alshan

When the line type is dotted, I expect to see the original line through the dots. In this case, it is not so. Especially, you can see this on the last box with whiskers.

devcrocod avatar Nov 09 '23 12:11 devcrocod

No, in ggplot "dotted" line consists of dots with the background in between. Take a look: http://www.cookbook-r.com/Graphs/Shapes_and_line_types/

To achieve visual effect that you needed try to combine two layers of boxes: dotted lines on top of solid lines.

alshan avatar Nov 09 '23 19:11 alshan

ggplot2 output for reference: image

IKupriyanov-HORIS avatar Nov 09 '23 19:11 IKupriyanov-HORIS

Okay, I was talking about understanding. Here I have highlighted the problem areas: Screenshot 2023-11-10 at 14 21 16

Even the ggplot examples given here look cleaner

devcrocod avatar Nov 10 '23 13:11 devcrocod

@IKupriyanov-HORIS Looks like ggplot adjusts dots size/distance to the line width.

alshan avatar Nov 10 '23 21:11 alshan

Was fixed in 4.7.3

alshan avatar Jul 01 '24 15:07 alshan