Commits

Sebastien Binet  committed b0c6a56

cosmetics

  • Participants
  • Parent commits 4133d6f

Comments (0)

Files changed (1)

 
 ::
 
-   | package main
-   | 
-   | import "bitbucket.org/binet/go-gnuplot/pkg/gnuplot"
-   | import "fmt"
-   | 
-   | func main() {
-   | 	fname := ""
-   | 	persist := false
-   | 	debug := true
-   | 
-   | 	p,err := gnuplot.NewPlotter(fname, persist, debug)
-   | 	if err != nil {
-   | 		err_string := fmt.Sprintf("** err: %v\n", err)
-   | 		panic(err_string)
-   | 	}
-   | 	defer p.Close()
-   | 
-   | 	p.PlotX([]float64{0,1,2,3,4,5,6,7,8,9,10}, "some data")
-   | 	p.CheckedCmd("set terminal pdf")
-   | 	p.CheckedCmd("set output 'plot002.pdf'")
-   | 	p.CheckedCmd("replot")
-   | 
-   | 
-   | 	p.CheckedCmd("q")
-   | 	return
-   | }
+    package main
+    
+    import "bitbucket.org/binet/go-gnuplot/pkg/gnuplot"
+    import "fmt"
+    
+    func main() {
+    	fname := ""
+    	persist := false
+    	debug := true
+    
+    	p,err := gnuplot.NewPlotter(fname, persist, debug)
+    	if err != nil {
+    		err_string := fmt.Sprintf("** err: %v\n", err)
+    		panic(err_string)
+    	}
+    	defer p.Close()
+    
+    	p.PlotX([]float64{0,1,2,3,4,5,6,7,8,9,10}, "some data")
+    	p.CheckedCmd("set terminal pdf")
+    	p.CheckedCmd("set output 'plot002.pdf'")
+    	p.CheckedCmd("replot")
+    
+    
+    	p.CheckedCmd("q")
+    	return
+    }