mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-06 06:21:16 +08:00
removed --size option
This commit is contained in:
parent
469461cf00
commit
cb59f1b3bc
@ -104,7 +104,7 @@ sub interpretCommandline
|
|||||||
'circles', 'legend=s{2}', 'autolegend!', 'xlabel=s', 'ylabel=s', 'y2label=s', 'zlabel=s',
|
'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',
|
'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@',
|
'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',
|
'histogram=s@', 'binwidth=f', 'histstyle=s',
|
||||||
'terminal=s',
|
'terminal=s',
|
||||||
'extraValuesPerPoint=i', 'help', 'dump',
|
'extraValuesPerPoint=i', 'help', 'dump',
|
||||||
@ -355,15 +355,13 @@ sub mainThread
|
|||||||
# set a square aspect ratio. Gnuplot does this differently for 2D and 3D plots
|
# set a square aspect ratio. Gnuplot does this differently for 2D and 3D plots
|
||||||
if(! $options{'3d'})
|
if(! $options{'3d'})
|
||||||
{
|
{
|
||||||
$options{size} = '' unless defined $options{size};
|
print(PIPE "set size ratio -1\n");
|
||||||
$options{size} .= ' ratio -1';
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print(PIPE "set view equal xyz\n");
|
print(PIPE "set view equal xyz\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print(PIPE "set size $options{size}\n") if defined $options{size};
|
|
||||||
|
|
||||||
if($options{square_xy})
|
if($options{square_xy})
|
||||||
{
|
{
|
||||||
|
@ -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-
|
for instance. Can be passed multiple times, or passed a comma-
|
||||||
separated list
|
separated list
|
||||||
|
|
||||||
--size xxx Gnuplot size option
|
|
||||||
|
|
||||||
--square Plot data with aspect ratio 1. For 3D plots, this controls the
|
--square Plot data with aspect ratio 1. For 3D plots, this controls the
|
||||||
aspect ratio for all 3 axes
|
aspect ratio for all 3 axes
|
||||||
|
|
||||||
|
@ -27,7 +27,6 @@ complete -W \
|
|||||||
--y2 \
|
--y2 \
|
||||||
--curvestyleall \
|
--curvestyleall \
|
||||||
--extracmds \
|
--extracmds \
|
||||||
--size \
|
|
||||||
--square \
|
--square \
|
||||||
--square_xy \
|
--square_xy \
|
||||||
--hardcopy \
|
--hardcopy \
|
||||||
|
@ -28,7 +28,6 @@ _arguments -S
|
|||||||
'*--y2:plot to place on the Y2 axis:' \
|
'*--y2:plot to place on the Y2 axis:' \
|
||||||
'--curvestyleall[Additional styles for ALL curves]:' \
|
'--curvestyleall[Additional styles for ALL curves]:' \
|
||||||
'*--extracmds[Additional gnuplot commands]:' \
|
'*--extracmds[Additional gnuplot commands]:' \
|
||||||
'--size[Gnuplot size option]:' \
|
|
||||||
'--square[Plot data with square aspect ratio]' \
|
'--square[Plot data with square aspect ratio]' \
|
||||||
'--square_xy[For 3D plots, set square aspect ratio for ONLY the x,y axes]' \
|
'--square_xy[For 3D plots, set square aspect ratio for ONLY the x,y axes]' \
|
||||||
'--hardcopy[Plot to a file]:' \
|
'--hardcopy[Plot to a file]:' \
|
||||||
|
Loading…
Reference in New Issue
Block a user