Underleaf Logo
Underleaf
BlogPricing
Log InTry Free

Learn PGFPlots

Getting Started

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

Line Plots in PGFPlots

Create line plots from functions, data points, and external files.

Plotting Functions

Plotting Data Points

Line Styles

Line Thickness

Adding Markers

Marker Customization

Smooth Lines

Multiple Line Plots

Samples and Resolution

Parametric Plots

Next Steps

Continue learning PGFPlots:

  • Scatter Plots - Point data visualization
  • Bar Charts - Categorical data
  • Legends - Customize legends

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

Line Plots in PGFPlots

Create line plots from functions, data points, and external files.

Plotting Functions

Plotting Data Points

Line Styles

Line Thickness

Adding Markers

Marker Customization

Smooth Lines

Multiple Line Plots

Samples and Resolution

Parametric Plots

Next Steps

Continue learning PGFPlots:

Underleaf Logo
Underleaf

Empowering students and researchers with AI-powered tools for academic writing.

Go to appContact us

Company

PricingBlogTutorialsConference TemplatesConference Deadlines

Free Tools

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

© 2026 Underleaf. All rights reserved.