...

Source file src/gonum.org/v1/plot/plotter/logscale_test.go

Documentation: gonum.org/v1/plot/plotter

     1  // Copyright ©2017 The Gonum Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package plotter_test
     6  
     7  import (
     8  	"testing"
     9  
    10  	"gonum.org/v1/plot/cmpimg"
    11  )
    12  
    13  func TestLogScale(t *testing.T) {
    14  	cmpimg.CheckPlot(Example_logScale, t, "logscale.png")
    15  }
    16  
    17  func TestLogScaleWithAutoRescale(t *testing.T) {
    18  	cmpimg.CheckPlot(Example_logScaleWithAutoRescale, t, "logscale_autorescale.png")
    19  }
    20  

View as plain text