diff options
-rw-r--r-- | draw/draw.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/draw/draw.go b/draw/draw.go index 9ee1bd7..cfde776 100644 --- a/draw/draw.go +++ b/draw/draw.go @@ -19,6 +19,8 @@ func initializePlot() *gg.Context { dc.SetRGB(0, 0, 0) dc.Clear() + dc.InvertY() + // Set the coordinate midpoint to the middle of the image dc.Translate(image_width/2, image_height/2) |