Underleaf Logo
Underleaf
Blog
Log InTry Free

Learn PGFPlots

Getting Started

  • What is PGFPlots?
  • PGFPlots for Beginners
  • Basic Setup

Histograms in PGFPlots

Create histograms for frequency distributions and statistical analysis.

Setup for Histograms

Basic Histogram

Pre-computed Histogram

If you already have bin counts, use ybar interval directly:

Customizing Bins

Density Histogram

Cumulative Histogram

Multiple Histograms

Styled Histogram

Histogram with Normal Curve

Next Steps

Continue learning PGFPlots:

  • Box Plots - Statistical summaries
  • Error Bars - Uncertainty visualization
  • Area Plots - Filled regions

Try it free

Sketch it — AI draws the TikZ.

Upload a photo of a hand-drawn diagram, flowchart, or plot and Underleaf generates the TikZ code for you. 10 free credits every month, no credit card required.

Convert your diagram
A hand-drawn sketch converted into a clean TikZ diagram

Histograms in PGFPlots

Create histograms for frequency distributions and statistical analysis.

Setup for Histograms

Basic Histogram

Pre-computed Histogram

If you already have bin counts, use ybar interval directly:

Customizing Bins

Density Histogram

Cumulative Histogram

Multiple Histograms

Styled Histogram

Histogram with Normal Curve

Next Steps

Continue learning PGFPlots:

Underleaf Logo
Underleaf

Practical tools for academic writing, document conversion, and research workflows.

Go to appContact us

Company

PricingBlogTutorialsConference TemplatesConference Deadlines

Free Tools

Image to LaTeXExcel to LaTeXArXiv to LaTeXTikZ GeneratorLaTeX Table GeneratorCitation GeneratorThesis GeneratorChrome ExtensionAll Tools

Ask AI about Underleaf

Ask ChatGPTAsk ClaudeAsk Perplexity

© 2026 Underleaf. All rights reserved.