From 6335386762173a17ce2e35ebbe6a865f884d77a2 Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Sat, 19 Dec 2020 18:42:04 +0900 Subject: [PATCH] Update README.md * Fix typo * head line * delimiter --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a254827..288631e 100644 --- a/README.md +++ b/README.md @@ -152,13 +152,17 @@ See Quick Start for `count`. |-----------|-------|----------------------------------------------------------| | count | c | draw a baplot based on the number of occurrences (slow) | -### Can YouPlot detect if a header line is present or not? +### What if the header line is included? -No. If your input data contains a header line, you need to specify the `-H` option. +If your input data contains a header line, you need to specify the `-H` option. + +## How to specify the delimiter? + +Use the `-d` option. To specify a blank space, you can use `uplot bar -d ' ' data.txt`. The default value is tab, so you do not need to specify anything for tab-delimited text. ### Is there a way to specify a specific column as the x-axis or y-axis? -Not yet. In principle, YouPlot treats the first column as the X axis and the second column as the Y axis. When working with multiple series, the first row is the X axis, the second row is series 1, the third row is series 2, and so on. If you pass only one column of data for `line` and `bar`, YouPlot will automatically use a sequential number starting from 1 as the X-axis. The `--fmt xyy`, `--fmt xyxy` and `--fmt yx` options give you a few more choices. See the `youplot --help` for more details.YouPlot has limited functionality, but you can use shell scripts such as awk '{print $2, $1}' to swap lines. +Not yet. In principle, YouPlot treats the first column as the X axis and the second column as the Y axis. When working with multiple series, the first row is the X axis, the second row is series 1, the third row is series 2, and so on. If you pass only one column of data for `line` and `bar`, YouPlot will automatically use a sequential number starting from 1 as the X-axis. The `--fmt xyy`, `--fmt xyxy` and `--fmt yx` options give you a few more choices. See the `youplot --help` for more details. YouPlot has limited functionality, but you can use shell scripts such as `awk '{print $2, $1}'` to swap lines. ### How to view detailed command line options?