Christopher Tessum

Results 48 comments of Christopher Tessum

Making a plot with unusual axis scaling may be more confusing than helpful for the audience anyway. Another option could be to make two plots and put them side-by-side, where...

You can use draw.Crop: https://godoc.org/github.com/gonum/plot/vg/draw#Crop. However, if this is happening it is probably a bug so if you are willing to submit an example that reproduces the problem that would...

I think a more general-purpose solution (or perhaps a prerequisite to the proposal above) might be to add (or export) the capability to draw a Legend on an arbitrary canvas....

It looks like it might be as simple as exporting [Legend.draw](https://github.com/gonum/plot/blob/master/legend.go#L84) and maybe [makeLegend](https://github.com/gonum/plot/blob/master/legend.go#L72)

So with #436, it is now possible to create a utility function because we now know how tall and wide a legend is and therefore know how much room to...

I think you have to draw at canvas.Min rather than (0,0). The absolute coordinates are always relative to the parent canvas rather than the cropped one. As mentioned above, documentation...

I've looked into it some, and I'm pretty sure the issue is in the connector.add() and pointchain.linkSegment() functions. My understanding is at the point in the algorithm that these functions...

There is now a potential fix for this in #9 . Basically, I added a preprocessor that adds all of the segments to a graph structure before adding them to...

Is the winding order correct for both polygons? I think if one clockwise and the other is counterclockwise, or they are both winding in the wrong direction (although I don't...

I've added a test in #10. It doesn't return an empty polygon, but it also doesn't exactly return the inner polygon as expected.