plot icon indicating copy to clipboard operation
plot copied to clipboard

Plot cuts off lines

Open btracey opened this issue 10 years ago • 1 comments

See the following code

http://play.golang.org/p/gNd64W9hDY

The maximum of the plot cuts off the peak of the line.

btracey avatar May 11 '15 22:05 btracey

I think that the top of the plot needs to be padded by the line width. It's ugly, but without changing the API, the only way that I can see to do this is to add GlyphBoxes for the extreme points in the line plotter. The size of the box should be linewidth/2.

eaburns avatar May 11 '15 22:05 eaburns