mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-05-05 22:31:11 +08:00
Update README.md
* Fix typo * head line * delimiter
This commit is contained in:
parent
887b9d3c53
commit
6335386762
10
README.md
10
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 <command> --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 <command> --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?
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user