Underleaf Logo
Underleaf
Blog
Log InTry Free

Learn PGFPlots

Getting Started

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

Data from Files in PGFPlots

Import and visualize data from external files like CSV, TSV, and plain text.

Basic File Import

Given a file data.txt with space-separated values:

CSV Files

Column Selection

Error Bars from File

Tab-Separated Files

Skipping Header Rows

Inline Data

Mathematical Operations on Data

Filtering Data

Multiple Data Series

3D Data from File

Next Steps

Continue learning PGFPlots:

  • Error Bars - Visualize data uncertainty
  • Scatter Plots - Plot file data as points
  • Line Plots - Connect data points

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

Data from Files in PGFPlots

Import and visualize data from external files like CSV, TSV, and plain text.

Basic File Import

Given a file data.txt with space-separated values:

CSV Files

Column Selection

Error Bars from File

Tab-Separated Files

Skipping Header Rows

Inline Data

Mathematical Operations on Data

Filtering Data

Multiple Data Series

3D Data from File

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.