Graphing a Discontinuous Function with PGFPLOTS (Unlocking LaTeX Graphics Episode 56)

In this episode of Unlocking LaTeX Graphics, applied mathematician Tammy Kolda demonstrates how to graph a discontinuous function using PGFPLOTS. Inspired by a Reddit discussion, she walks through creating a figure with axes in the middle, grid lines, open and closed circle marks, customized axes and grid lines; positioning title and axis labels; and adding TikZ nodes to a PGFPLOTS axis. Tammy also covers important details like document setup, setting compatibility level, and other styling options. Watch to enhance your LaTeX skills and recreate complex graphs using PGFPLOTS. Be sure to like, subscribe, and check the show notes for additional resources and links to relevant episodes. 00:00 Welcome & Today's Topic 00:44 Document Setup 01:16 Original Image 02:06 PGFPLOTS Setup 02:53 Defining the Function 04:15 Middle Axes and Grid Lines 04:34 Adding Open Circle Markers 06:41 Adding a TikZ Node 07:25 Relocating the Title 08:29 Restyle the Axes 09:33 Relocate X & Y Labels 10:13 Tick Mark Backgrounds 10:38 Changing the Grid Style 10:52 Thanks for Watching Key terms: texlatex, pgfplots, middle axes, discontinuous function, open circle marker, title positioning, axis label positioning, tick mark backgrounds, grid style, tikz nodes in PGFPLOTS Related Episodes Getting Started with PGFPLOTS:    • Getting Started with PGFPLOTS (Unlocking L...   Plotting Math Expressions:    • Plotting Math Expressions Directly in LaTe...   Today's Document on Overleaf: https://www.overleaf.com/read/qnrcmbk... Reddit discussion that inspired this episode:   / are_there_any_other_graphing_packages_othe...   Unlocking LaTeX Graphics Book: https://latex-graphics.com Purchase Book on Amazon: https://amzn.to/3z76nwb

Mastering TikZ Styles in LaTeX (Unlocking LaTeX Graphics Ep. 57)
▶︎

Mastering TikZ Styles in LaTeX (Unlocking LaTeX Graphics Ep. 57)

Six Hidden TikZ Tricks (Unlocking LaTeX Graphics, Ep. 64)
▶︎

Six Hidden TikZ Tricks (Unlocking LaTeX Graphics, Ep. 64)

I Switched to LaTeX (It was a Nightmare)
▶︎

I Switched to LaTeX (It was a Nightmare)

How I make beautiful GRAPHS and PLOTS using LaTeX
▶︎

How I make beautiful GRAPHS and PLOTS using LaTeX

Mastering TikZ Layers to Recreate the Multi-Head Attention Figure (Unlocking LaTeX Graphics, Ep. 65)
▶︎

Mastering TikZ Layers to Recreate the Multi-Head Attention Figure (Unlocking LaTeX Graphics, Ep. 65)

Engineering Paper with TikZ (Unlocking LaTeX Graphics, Ep. 58)
▶︎

Engineering Paper with TikZ (Unlocking LaTeX Graphics, Ep. 58)

Solving the hardest integral on math stack exchange (cleo's monster integral)
▶︎

Solving the hardest integral on math stack exchange (cleo's monster integral)

Harvard Professor Explains The Rules of Writing — Steven Pinker
▶︎

Harvard Professor Explains The Rules of Writing — Steven Pinker

Inside Dyson’s Overengineered £1000 Hand Dryer
▶︎

Inside Dyson’s Overengineered £1000 Hand Dryer

Using Tikz and PgfPlots (1 of 8: Basic Drawing)
▶︎

Using Tikz and PgfPlots (1 of 8: Basic Drawing)

You Know This Song (but the Orchestra Doesn’t) | Jacob Collier & VSO School of Music Orchestra | TED
▶︎

You Know This Song (but the Orchestra Doesn’t) | Jacob Collier & VSO School of Music Orchestra | TED

MOUNTAIN OF HELL 2026 🏆 WINNING RUN - FULL BATTLE POV
▶︎

MOUNTAIN OF HELL 2026 🏆 WINNING RUN - FULL BATTLE POV

【怖いほど当たる】近々あの人から本当に大切な話がある方の目にとまる動画です。
▶︎

【怖いほど当たる】近々あの人から本当に大切な話がある方の目にとまる動画です。

They can't hide SpaceX losses
▶︎

They can't hide SpaceX losses

Drawing Figures in LaTeX with TikZ - Plotting Functions
▶︎

Drawing Figures in LaTeX with TikZ - Plotting Functions

Creating Blank Axes with TikZ and PGFPLOTS (Unlocking LaTeX Graphics - Video 32)
▶︎

Creating Blank Axes with TikZ and PGFPLOTS (Unlocking LaTeX Graphics - Video 32)

الرقية الشرعية للشفاءمن السحروالعين والحسد حصن من الشيطان رقية البيت والاولاد بصوت القارئ سعيد حمدان
▶︎

الرقية الشرعية للشفاءمن السحروالعين والحسد حصن من الشيطان رقية البيت والاولاد بصوت القارئ سعيد حمدان

She Asks if I Know Coldplay and This Singer Shocks The Street
▶︎

She Asks if I Know Coldplay and This Singer Shocks The Street

Annotating Graphics using TikZ (in LaTeX)
▶︎

Annotating Graphics using TikZ (in LaTeX)

Drawing a Neural Network with TikZ (Unlocking LaTeX Graphics Ep 72)
▶︎

Drawing a Neural Network with TikZ (Unlocking LaTeX Graphics Ep 72)