Graphics, Figures & TablesConfusing Plot Axis

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
maltieca
Posts: 4
Joined: Sun Aug 15, 2021 5:58 pm

Confusing Plot Axis

Post by maltieca »

I have the following diagram that is a binned frequency histogram. However, I am trying to convert it from a python matplotlib diagram to include into Latex. The way I do this is the same way I have done for many other diagrams.

The diagram looks like this:
BinnedHistogram.png
BinnedHistogram.png (22.6 KiB) Viewed 3792 times
Each of the 'columns' contains a histogram. Since the y-axis is printed each time for each histogram, the values are superimposed on each other so the y-axis looks clean as it should. However, the problem is that when I put the pgf file in overleaf and print the figure it looks like this:
WeirdBinnedHistogram.png
WeirdBinnedHistogram.png (31.24 KiB) Viewed 3792 times
As I mentioned, each of the values that appear in bold and confusing are so because they are being printed for each of the histograms. My question is: how can I remove the bolding on the y-axis and completely remove the top xticks? I have the xticks that are clean on the bottom x-axis, I don't need another.

I am sharing my pgf file and I hope that you can help out!

Attachment:
binnedhistogram.tex.txt
(9.69 KiB) Downloaded 145 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply