mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-05-06 07:10:10 +08:00
Update README.md
* Write about `--fmt` option
This commit is contained in:
parent
eb317e2bb5
commit
887b9d3c53
10
README.md
10
README.md
@ -152,7 +152,15 @@ See Quick Start for `count`.
|
|||||||
|-----------|-------|----------------------------------------------------------|
|
|-----------|-------|----------------------------------------------------------|
|
||||||
| count | c | draw a baplot based on the number of occurrences (slow) |
|
| count | c | draw a baplot based on the number of occurrences (slow) |
|
||||||
|
|
||||||
### How to view detailed command line options
|
### Can YouPlot detect if a header line is present or not?
|
||||||
|
|
||||||
|
No. If your input data contains a header line, you need to specify the `-H` option.
|
||||||
|
|
||||||
|
### 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.
|
||||||
|
|
||||||
|
### How to view detailed command line options?
|
||||||
|
|
||||||
Use `--help` to print command-specific options.
|
Use `--help` to print command-specific options.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user