Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plot cuts off lines #200

Open
btracey opened this issue May 11, 2015 · 1 comment
Open

Plot cuts off lines #200

btracey opened this issue May 11, 2015 · 1 comment

Comments

@btracey
Copy link
Member

btracey commented May 11, 2015

See the following code

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

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

@eaburns
Copy link
Member

eaburns commented May 11, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants