Thanks to visit codestin.com
Credit goes to github.com

Skip to content

wrong label bar plot #335

@juanjo255

Description

@juanjo255

Hello! @shenwei356

Thank you very much for this tool!

I have a problem I noticed that csvtk bar plot is plotting the wrong labels.

This is my dataset:

Peteryoungia,1
Ciceribacter,1
Pararhizobium,3
Shinella,59
Hoeflea,2
Ensifer,9
Allorhizobium,7
Pseudorhizobium,6
Neorhizobium,11
Sinorhizobium,103
Agrobacterium,334
Rhizobium,416

This is the command:

cat dataset.txt | csvtk freq -H | csvtk plot bar -H --horizontal -x 1 -y 2 --xlab "Count"  -o out.png

This is the output:

Image

What am I doing wrong here?

I hope you can help me!

Thank you very much.

Juan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions