PGFPlots and PGFPlotstable

repository·master·Indexed 42 days ago

https://github.com/pgf-tikz/pgfplots

A suite for creating professional 2D and 3D mathematical plots and formatted numerical tables within LaTeX, TeX, and ConTeXt. PGFPlots handles axis scaling and coordinate mapping for line, scatter, bar, and surface plots, while PGFPlotstable provides tools for loading, rounding, and formatting numerical data.

Tokens
340
Snippets
0
Records
2
Agent score
4%

What's inside PGFPlots

  1. Overview of PGFPlots and PGFPlotstable

    master

    The pgfplots repository provides two primary tools for TeX-based data visualization:

    1. PGFPlots: A package for creating high-quality 2D and 3D plots (normal or logarithmic scaling) directly in LaTeX/TeX/ConTeXt. It handles axis scaling, logarithm computation, axis ticks, and labels. Supported plot types include:

      • Line, scatter, and piecewise constant plots
      • Bar, area, and histogram plots
      • Mesh, surface, patch, and contour plots
      • Quiver, polar axes, ternary diagrams, and smith charts
    2. PGFPlotstable: A companion tool for managing numerical tables. It allows you to load, round, format (e.g., scientific, fixed point, or integer), and postprocess numerical data using TeX's math facilities for high-quality printing.

  2. What is PGFPlots and when to use it

    master

    Use PGFPlots when you need to generate high-quality mathematical visualizations (2D or 3D) directly within a LaTeX, TeX, or ConTeXt document. It is ideal for users who want to provide raw data or mathematical functions and have the software automatically manage the complex task of axis scaling, tick computation, and coordinate mapping.

    Use PGFPlotstable when you need to display numerical data in a formatted table. It is useful for rounding values to specific precisions, converting numbers to scientific or fixed-point notation, and performing post-processing on table data before display.