# HG changeset patch # User Steve Losh # Date 1545002815 18000 # Node ID 6b2d21a74a451fd7207599bea8549e4190d28914 # Parent 73c14a96cb0eec2166702885efd6578c91151c88 Remove the awful gnuplot-expr to avoid exporting X diff -r 73c14a96cb0e -r 6b2d21a74a45 package.lisp --- a/package.lisp Fri Dec 07 20:58:59 2018 -0500 +++ b/package.lisp Sun Dec 16 18:26:55 2018 -0500 @@ -311,10 +311,8 @@ (:export :gnuplot :gnuplot-args - :gnuplot-expr :gnuplot-function - :gnuplot-histogram - :x)) + :gnuplot-histogram)) (defpackage :losh.iterate (:use :cl :iterate :losh.quickutils diff -r 73c14a96cb0e -r 6b2d21a74a45 src/gnuplot.lisp --- a/src/gnuplot.lisp Fri Dec 07 20:58:59 2018 -0500 +++ b/src/gnuplot.lisp Sun Dec 16 18:26:55 2018 -0500 @@ -126,17 +126,6 @@ (apply #'gnuplot data args))) -(defmacro gnuplot-expr (expr &rest args) - "Plot `expr` (an expression involving `x`) with gnuplot. - - See the docstring of `gnuplot-args` for other keyword arguments. - - " - `(gnuplot-function (lambda (x) ,expr) - :line-title ',expr - ,@args)) - - (defun gnuplot-histogram (data &rest args &key (bin-width 1)