diff --git a/bin/feedgnuplot b/bin/feedgnuplot index 8fa7364..84ba483 100755 --- a/bin/feedgnuplot +++ b/bin/feedgnuplot @@ -104,7 +104,7 @@ sub interpretCommandline 'circles', 'legend=s{2}', 'autolegend!', 'xlabel=s', 'ylabel=s', 'y2label=s', 'zlabel=s', 'title=s', 'xlen=f', 'ymin=f', 'ymax=f', 'xmin=f', 'xmax=f', 'y2min=f', 'y2max=f', 'zmin=f', 'zmax=f', 'y2=s@', 'curvestyle=s{2}', 'curvestyleall=s', 'extracmds=s@', - 'size=s', 'square!', 'square_xy!', 'hardcopy=s', 'maxcurves=i', 'monotonic!', + 'square!', 'square_xy!', 'hardcopy=s', 'maxcurves=i', 'monotonic!', 'histogram=s@', 'binwidth=f', 'histstyle=s', 'terminal=s', 'extraValuesPerPoint=i', 'help', 'dump', @@ -355,15 +355,13 @@ sub mainThread # set a square aspect ratio. Gnuplot does this differently for 2D and 3D plots if(! $options{'3d'}) { - $options{size} = '' unless defined $options{size}; - $options{size} .= ' ratio -1'; + print(PIPE "set size ratio -1\n"); } else { print(PIPE "set view equal xyz\n"); } } - print(PIPE "set size $options{size}\n") if defined $options{size}; if($options{square_xy}) { diff --git a/bin/feedgnuplot.pod b/bin/feedgnuplot.pod index 121308b..fe18551 100644 --- a/bin/feedgnuplot.pod +++ b/bin/feedgnuplot.pod @@ -329,8 +329,6 @@ As an example, if line 3 of the input is "0 9 1 20" for instance. Can be passed multiple times, or passed a comma- separated list - --size xxx Gnuplot size option - --square Plot data with aspect ratio 1. For 3D plots, this controls the aspect ratio for all 3 axes diff --git a/completions/bash/feedgnuplot b/completions/bash/feedgnuplot index 7f86eb3..b571d63 100644 --- a/completions/bash/feedgnuplot +++ b/completions/bash/feedgnuplot @@ -27,7 +27,6 @@ complete -W \ --y2 \ --curvestyleall \ --extracmds \ - --size \ --square \ --square_xy \ --hardcopy \ diff --git a/completions/zsh/_feedgnuplot b/completions/zsh/_feedgnuplot index c84ca31..1da88c9 100644 --- a/completions/zsh/_feedgnuplot +++ b/completions/zsh/_feedgnuplot @@ -28,7 +28,6 @@ _arguments -S '*--y2:plot to place on the Y2 axis:' \ '--curvestyleall[Additional styles for ALL curves]:' \ '*--extracmds[Additional gnuplot commands]:' \ - '--size[Gnuplot size option]:' \ '--square[Plot data with square aspect ratio]' \ '--square_xy[For 3D plots, set square aspect ratio for ONLY the x,y axes]' \ '--hardcopy[Plot to a file]:' \