mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-12-16 03:08:54 +08:00
Removed -x and -y options
The -x and -y options now stand for --xlabel and --ylabel. These options should be used to specify the series in the future.
This commit is contained in:
@@ -58,10 +58,10 @@ module YouPlot
|
||||
parser.on('-t', '--title STR', String, 'print string on the top of plot') do |v|
|
||||
params.title = v
|
||||
end
|
||||
parser.on('-x', '--xlabel STR', String, 'print string on the bottom of the plot') do |v|
|
||||
parser.on('--xlabel STR', String, 'print string on the bottom of the plot') do |v|
|
||||
params.xlabel = v
|
||||
end
|
||||
parser.on('-y', '--ylabel STR', String, 'print string on the far left of the plot') do |v|
|
||||
parser.on('--ylabel STR', String, 'print string on the far left of the plot') do |v|
|
||||
params.ylabel = v
|
||||
end
|
||||
parser.on('-w', '--width INT', Numeric, 'number of characters per row') do |v|
|
||||
|
||||
Reference in New Issue
Block a user