Sign In
  • Support FanGraphs
    FanGraphs Membership
    FanGraphs Shirts
    FanGraphs Mugs
    Gift a Membership
    Donate to FanGraphs
  • Games
    Ottoneu Fantasy Baseball
    Signup, FAQ, Blog Posts
  • Blogs
    Blog Roll

    FanGraphs
    Podcasts: FanGraphs Audio | Effectively Wild | Chin Music

    FanGraphs Prospects

    RotoGraphs
    Podcasts: The Sleeper and The Bust | Field of Streams | Beat the Shift

    Community Research

    Archived Blogs: The Hardball Times | NotGraphs | TechGraphs | FanGraphs+
    Archived THT: THT Live | Dispatch | Fantasy | ShysterBall
    Archived Podcasts: Stealing Home | Doing It For Bartolo | OttoGraphs | UMP: The Untitled McDongenhagen Project
  • Projections
    2023 Pre-Season Projections
    ZiPS, ZiPS DC
    Steamer
    Depth Charts
    ATC
    THE BAT, THE BAT X
    2023 600 PA / 200 IP Projections
    Steamer600
    2023 Updated In-Season Projections
    ZiPS (RoS), ZiPS (Update)
    Steamer (RoS), Steamer (Update)
    Depth Charts (RoS)
    THE BAT (RoS), THE BAT X (RoS)
    3 Year Projections
    ZiPS 2024, ZiPS 2025
    On-Pace Leaders
    Every Game Played, Games Played %
    Auction Calculator
  • Scores
    Today
    Live Scoreboard, Probable Pitchers
    Live Daily Leaderboards
    Win Probability & Box Scores
    2022, 2021, 2020, 2019, 2018, 2017...
  • Standings
    2022 Projected Standings
    2022 Playoff Odds, Playoff Odds Graphs
    ZiPS Postseason Game-By-Game Odds
    AL East
    AL Central
    AL West
    NL East
    NL Central
    NL West
  • Leaders
    Major League Leaders
    Batting: 2022, 2021, 2020, 2019, 2018, Career
    Pitching: 2022, 2021, 2020, 2019, 2018, Career
    Fielding: 2022, 2021, 2020, 2019, 2018, Career
    Splits Leaderboards
    Season Stat Grid
    60-Game Span Leaderboards (Special)

    KBO Leaders
    Batting, Pitching

    Minor League Leaders
    AAA: Triple-A East, Triple-A West, Mexican
    AA: Double-A Northeast, Double-A South, Double-A Central
    A+: High-A Central, High-A East, High-A West
    A: Low-A West, Low-A East, Low-A Southeast
    R: Appalachian, Gulf Coast, Pioneer, Arizona
    R: Dominican
    WAR Tools
    Combined WAR Leaderboards
    WAR Graphs
    WPA Tools
    WPA Inquirer
    Rookie Leaders
    Batters 2022, Pitchers 2022
    Splits Leaders
    Batters: vs L, vs R, Home, Away
    Pitchers: vs L , vs R, Home, Away
  • Teams
    Team Batting Stats
    2022, 2021, 2020, 2019, 2018, 2017...
    Team Pitching Stats
    2022, 2021, 2020, 2019, 2018, 2017...
    Team WAR Totals (RoS)
    AL East
    Blue Jays  |  DC
    Orioles  |  DC
    Rays  |  DC
    Red Sox  |  DC
    Yankees  |  DC
    AL Central
    Guardians  |  DC
    Royals  |  DC
    Tigers  |  DC
    Twins  |  DC
    White Sox  |  DC
    AL West
    Angels  |  DC
    Astros  |  DC
    Athletics  |  DC
    Mariners  |  DC
    Rangers  |  DC
    NL East
    Braves  |  DC
    Marlins  |  DC
    Mets  |  DC
    Nationals  |  DC
    Phillies  |  DC
    NL Central
    Brewers  |  DC
    Cardinals  |  DC
    Cubs  |  DC
    Pirates  |  DC
    Reds  |  DC
    NL West
    D-backs  |  DC
    Dodgers  |  DC
    Giants  |  DC
    Padres  |  DC
    Rockies  |  DC
    Positional Depth Charts
    Batters: C, 1B, 2B, SS, 3B, LF, CF, RF, DH
    Pitchers: SP, RP
  • RosterResource
    Current Depth Charts
    AL East
    Blue Jays
    Orioles
    Rays
    Red Sox
    Yankees
    AL Central
    Guardians
    Royals
    Tigers
    Twins
    White Sox
    AL West
    Angels
    Astros
    Athletics
    Mariners
    Rangers
    NL East
    Braves
    Marlins
    Mets
    Nationals
    Phillies
    NL Central
    Brewers
    Cardinals
    Cubs
    Pirates
    Reds
    NL West
    D-backs
    Dodgers
    Giants
    Padres
    Rockies
    Offseason Tools
    2023 Opening Day Tracker
    2023 Offseason Tracker
    2023 Free Agent Tracker
    In-Season Tools
    2023 Closer Depth Chart
    2023 Injury Report
    2022 Lineup Tracker
    2023 Payroll Pages
    2022 Probables Grid
    2022 Schedule Grid
    2023 Transaction Tracker
  • Prospects
    Prospects Home
    THE BOARD!
    THE BOARD: Scouting + Stats!
    How To Use THE BOARD: A Tutorial
    Top Prospects List
    Top Prospects
    2023 2022
    AL
    BALCHWHOU
    BOSCLELAA
    NYYDETOAK
    TBRKCRSEA
    TORMINTEX
    NL
    ATLCHCARI
    MIACINCOL
    NYMMILLAD
    PHIPITSDP
    WSNSTLSFG
    AL
    BALCHWHOU
    BOSCLELAA
    NYYDETOAK
    TBRKCRSEA
    TORMINTEX
    NL
    ATLCHCARI
    MIACINCOL
    NYMMILLAD
    PHIPITSDP
    WSNSTLSFG

    • 2022 Preseason Top 100

  • Glossary
    Library
    Batting Stats
    wOBA, wRC+, ISO, K% & BB%, more...
    Pitching Stats
    FIP, xFIP, BABIP, K/9 & BB/9, more...
    Defensive Stats
    UZR Primer, DRS, FSR, TZ & TZL, more...
    More
    WAR, UBR Primer, WPA, LI, Clutch
    Guts!
    Seasonal Constants
    Park Factors
    Park Factors by Handedness
  • Sign In
Help Support FanGraphs


Become a Member No Thanks
Already a member? Log In
  • Intro
  • Features
  • Offense
    • Complete List (Offense)
    • OBP
    • OPS and OPS+
    • wOBA
    • wRC and wRC+
    • wRAA
    • Off
    • BsR
    • UBR
    • wSB
    • wGDP
    • BABIP
    • ISO
    • HR/FB
    • Spd
    • Pull%/Cent%/Oppo%
    • Soft%/Med%/Hard%
    • GB%, LD%, FB%
    • K% and BB%
    • Plate Discipline (O-Swing%, Z-Swing%, etc.)
    • Pitch Type Linear Weights
    • Pace
  • Defense
    • Overview
    • Def
    • UZR
    • DRS
    • Defensive Runs Saved – 2020 Update
    • Inside Edge Fielding
    • Catcher Defense
    • FSR
    • RZR
    • TZ / TZL
  • Pitching
    • Complete List (Pitching)
    • ERA
    • WHIP
    • FIP
    • xFIP
    • SIERA
    • Strikeout and Walk Rates
    • Pull%/Cent%/Oppo%
    • Soft%/Med%/Hard%
    • GB%, LD%, FB%
    • BABIP
    • HR/FB
    • LOB%
    • Pitch Type Linear Weights
    • SD / MD
    • ERA- / FIP- / xFIP-
    • Plate Discipline (O-Swing%, Z-Swing%, etc.)
    • Pace
    • PITCHF/x
      • What is PITCHF/x?
      • Pitch Type Abbreviations & Classifications
      • Heat Maps
      • Common Mistakes
      • PITCHf/x Resources
  • WE/RE/LI
    • RE24
    • Win Expectancy
    • WPA
    • LI
    • WPA/LI
    • Clutch
  • Principles
    • DIPS
    • Regression toward the Mean
    • Replacement Level
    • Sample Size
    • Splits
    • Projection Systems
    • Linear Weights
    • Counting vs. Rate Statistics
    • Park Factors
    • Park Factors – 5 Year Regressed
    • Positional Adjustment
    • Aging Curve
    • League Equivalencies
    • Pythagorean Win-Loss
    • Luck
  • WAR
    • What is WAR?
    • WAR for Position Players
    • WAR for Pitchers
    • FDP
    • fWAR, rWAR, and WARP
    • WAR Misconceptions
  • Business

Heat Maps: What They Show, and Mistakes to Avoid

by Piper Slowinski
February 2, 2011

When David Appelman dropped his newest bomb on us the other day and announced that you could now find customizable heat maps here at FanGraphs, I think it’s safe to say that most of us saber-nerds had our minds blown. Personally, I’ve always admired the work that Dave Allen and other Pitch F/x gurus have done, yet being unskilled in the art of SQL and R, I figured this was a type of analysis that would always be beyond my abilities. Following in the footsteps of other FanGraphs updates, though, this analysis has now been democratized and made available to even the newest of saber newbies. You don’t have to know how to string together code or manipulate huge data sets: all you need is a mouse and a pointer finger.

But heat maps are like any other tool: before you can add them to your toolbox, you have to understand how to use them. Pitch F/x data can be a tricky thing to interpret, and many experienced saberists (myself included) have made mistakes because they didn’t know what they can and can’t do with that data. What exactly are heat maps? What do they show, and how should we use them? Let’s go exploring:

Heat Maps are rather intuitive: quite simply, they’re a strikezone plot that shows how often a pitcher throws a pitch in a certain location. To use David Appelman’s example, if you want to know where Mariano Rivera throws his cutter against lefties (or righties), this is the tool for you. These specific heat maps won’t tell you anything about a pitch’s movement, velocity, or effectiveness – they’re strictly plots of pitch location – but that doesn’t mean they’re without their uses. By looking at heat maps for pitchers, you can learn how a pitcher’s repertoire varies between lefties and righties, where in the zone they attack lefties and righties (and with what pitches), and if they hit the corners or leave many pitches over the plate.

When you look one of these heat maps, you’re looking at the strike zone from the catcher’s perspective. This is a detail that confuses many people, since we’re used to watching baseball from the pitcher’s perspective, but this is how all Pitch F/x charts are set up by default. If you need a visual to understand, here’s my (very) rough attempt:

(I know, I know, I have mad Paint skills. This is years of practice, folks.)

Now that you know what Heat Maps are and what they show you, let’s discuss some common analytical mistakes to avoid:

– Pitch Classifications: As Dave Allen told me, “The graphs are only as good as the pitch classifications.” There are hundreds of thousands pitches thrown over the course of a baseball season, and therefore there are hundreds of thousands of lines of data that need to be classified and organized. The people at MLB Advanced Media (MLBAM) are responsible for creating the algorithm that sorts pitches – this is a cutter, this is a fastball, this is a slider, etc. – and that algorithm has changed and improved over the years.

Due to these changes in the algorithm, you should be very careful when looking at a pitcher’s heat maps over time. While it may look like a pitcher has dramatically changed his pitch selection and location over the past few years, that’s likely the result of his pitches being reclassified. For example, look at Mariano Rivera’s fastballs and cutters over time. It looks like Rivera used to throw few cutters and lots of fastballs, but we all know that’s not true: Rivera has always predominantly thrown a cutter. Those cutters were just classified as fastballs in the past.

– Sample Sizes: As with all statistics or graphs, you should always be careful about drawing conclusions from a small amount of data. This shouldn’t be a concern with starting pitchers, who throw a large amount of innings and pitches each season, but I’d hesitate before using these heat maps to draw conclusions about pitchers that only had a few starts in one season or pitched a small number of innings in relief. These heat maps are good at showing us large, overarching trends, and it’s difficult to have a “trend” if you’ve only pitched a small number of innings.

– Over-Smoothing: Creating a perfect heat map that displays useful data is more an art form than a science. Since David Appelman gave us all control over the definition and color scheme of the heat maps, you can make the exact same data look a variety of ways. For example, here are a number of different ways to look at Rivera’s 2010 cutter usage versus lefties:

Each map is displaying the exact same data, yet each one looks vastly different and tells you different information. You want to make the data look pretty by smoothing out the heat map and making the color gradient flow, but at the same time you don’t want to over-smooth your map and remove all valuable information, like in the first two charts on the top row. It takes time to find the happy medium – the one that looks best while also still remaining true to the underlying data.

– Over-Stating Results: Remember, these heat maps will only show you information on pitch location – NOT on pitch movement, velocity, or effectiveness. They can tell you which pitches a pitcher throws against each hand and where those pitches are normally located, but you shouldn’t use these charts to make exaggerated claims. If you’re trying to understand why a pitcher has been effective or ineffective in certain situations, it’s best to look not just at these heat maps, but also at pitching statistics and all the Pitch F/x charts available. Pitchers are notoriously tricky to properly evaluate, so if you think you’ve found a simple solution/answer to a pitcher’s problems, you’re probably wrong.

These heat maps can be a great evaluative help when used properly, and if nothing else, they’re a heck of a lot of fun to look at. Keep all these above caveats in mind if you try using them for analysis, but if you’re just looking to have some fun, enjoy!

For more information, check out the new Heat Maps page in the FanGraphs Library.





What Is the FanGraphs Library, and How Do I Use It?
 
Left On Base Percentage (LOB%): A Video Explanation

Piper was the editor-in-chief of DRaysBay and the keeper of the FanGraphs Library.

7 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Bob Hudgins
11 years ago

Holy cripes! So useful! I had wondered why I didn’t understand the perspective on heat maps. I pitched for 16 years, and I look at games from the perspective of one standing on the mound. Heat maps should reflect that–he’s the one throwing the pitch; plotting a plan of attack! They’ve got it turned around. This needs to be cleared up and explained.

0
Bob Hudgins
11 years ago

That’s generally the way we view games on TV, too, from a center field camera. It does not make sense to show heat maps from the receiving end.

0
Piper Slowinski
11 years ago
Reply to  Bob Hudgins

All Pitch F/x plots are shown from the catcher’s perspective. It simply is what it is….considering how much work has been done in the field already, it’d be more confusing to change them at this point.

0
bcp33bosox
11 years ago
Reply to  Piper Slowinski

Living in Japan and watching hundreds of games on mlb.com’s gameday from the catchers perspective certainly helped make it less confusing for me, in fact this is the way I’d prefer it. Also many videogames have you bat from the catchers perspective…

That being said, would it be that hard to have “catcher’s view” posted at the bottom or top of each map (like a catcher “compass”)?

1
kris
11 years ago
Reply to  bcp33bosox

Yah, I think intuitively you can dig into these things a lot easier if you’ve played video game baseball. MVP Baseball 2005, WHAT?! Best baseball game ever made and available for under $2.00 at any used game score.

And I challenge any one of your many Toronto writers to an MVP home-run off. I am the tractor king, bitches.

Anyways, I noticed the other day that Fangraphs had added INSIDE – CENTER – OUTSIDE to the bottom of their pfx location graphs. It’s handy and maybe it’s been there since the inception.. who knows.

I like the heat maps though, but I still think they can lead to a lost of nasty analysis in the short-term. Personally, if there’s one thing that I’d love to see is heat-maps sortable by count.

If you could sort, I dunno, Fausto Carmona’s fastball at 0-0 and compare it to 3-0,3-1,3-2, you might be able to get into some neat analysis.

As it stands, it’s just a very broad picture without context. If I had to pick and choose, I’d take count context over anything you mentioned in “over stating results” — Although, it would be pretty nice to see the linear weight updated above it.

1
MauerPower
11 years ago

These are awesome! What are the top left rainbow ones showing us?

0
LarryInLA
11 years ago

These are great, but…

You discuss the sample size issues, but there really ought to be an associated error map to go with the heat map. I would suggest always serving up both images together. The calculation would be fairly simple, and the error maps would be easy to generate.

0
You are going to send email to

Move Comment

Updated: Saturday, January 28, 2023 7:05 AM ETUpdated: 1/28/2023 7:05 AM ET
Player Linker - @fangraphs - Contact Us - Advertise - Terms of Service - Privacy Policy
sis_logo
All major league baseball data including pitch type, velocity, batted ball location, and play-by-play data provided by Sports Info Solutions.
mlb logo
Major League and Minor League Baseball data provided by Major League Baseball.
Mitchel Lichtman
All UZR (ultimate zone rating) calculations are provided courtesy of Mitchel Lichtman.
TangoTiger.com
All Win Expectancy, Leverage Index, Run Expectancy, and Fans Scouting Report data licenced from TangoTiger.com
Retrosheet.org
Play-by-play data prior to 2002 was obtained free of charge from and is copyrighted by Retrosheet.