Discussion:
[Matplotlib-users] Bar Graph and X-axis data marks
Nertskull
2015-03-05 02:20:44 UTC
Permalink
I've searched and can't figure this out.

And I'm not sure exactly the best way to do it.

Basically, I'm trying to make a bar graph, and I have about 400 bars (so
400 x-axis 'groups').

When I plot it, I get every bar labelled, but that is too much to be
seen. How do I make it so I only label every 10th bar, or every 50th bar?

The data is ordered data, so it doesn't matter if many don't have a label.

Thanks.
Sterling Smith
2015-03-05 06:06:28 UTC
Permalink
Nertskull,

If no one responds, you might repost with some examples of what you’ve tried. I would suggest xticks and company, but I’m not sure if it works in your situation.

-Sterling
Post by Nertskull
I've searched and can't figure this out.
And I'm not sure exactly the best way to do it.
Basically, I'm trying to make a bar graph, and I have about 400 bars (so
400 x-axis 'groups').
When I plot it, I get every bar labelled, but that is too much to be
seen. How do I make it so I only label every 10th bar, or every 50th bar?
The data is ordered data, so it doesn't matter if many don't have a label.
Thanks.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Matplotlib-users mailing list
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Loading...