mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-09-19 03:38:08 +08:00
added zsh and bash completions to the package
This commit is contained in:
40
completions/zsh/_feedgnuplot
Normal file
40
completions/zsh/_feedgnuplot
Normal file
@@ -0,0 +1,40 @@
|
||||
#compdef feedgnuplot
|
||||
|
||||
_arguments -S \
|
||||
'()--domain[first element of each line is the domain variable]' \
|
||||
'--dataid[each data point is preceded by the corresponding ID]' \
|
||||
'(--monotonic --xlen)--3d' \
|
||||
'--colormap[show a colormapped xy plot]' \
|
||||
'--stream[Plot the data in realtime]::period in s:' \
|
||||
'--lines' \
|
||||
'--points' \
|
||||
'--circles' \
|
||||
'--xlabel:X-axis label:' \
|
||||
'--ylabel:Y-axis label:' \
|
||||
'--y2label:Y2-axis label:' \
|
||||
'--zlabel:Z-axis label:' \
|
||||
'--zlabel:Z-axis label:' \
|
||||
'--title:Plot title:' \
|
||||
'--autolegend[Label each plot with its data ID]' \
|
||||
'(--3d)--xlen[the size of the x-window to plot]::window size:' \
|
||||
'--xmin:min X:' \
|
||||
'--xmax:max X:' \
|
||||
'--ymin:min Y:' \
|
||||
'--ymax:max Y:' \
|
||||
'--y2min:min Y2:' \
|
||||
'--y2max:max Y2:' \
|
||||
'--zmin:min Z:' \
|
||||
'--zmax:max Z:' \
|
||||
'*--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]:' \
|
||||
'--maxcurves[The maximum allowed number of curves]:' \
|
||||
'(--3d)--monotonic[Resets plot if an X in the past is seen]' \
|
||||
'--extraValuesPerPoint[How many extra values are given for each data point]:' \
|
||||
'--dump[Instead of printing to gnuplot, print to STDOUT]' \
|
||||
'*--curvestyle[Additional styles for a curve]:curve id: :style:' \
|
||||
'*--legend[Legend for a curve]:curve id: :legend:'
|
Reference in New Issue
Block a user