Chapter 2. Simple Use of PLplot

Table of Contents

Plotting a Simple Graph
Initializing PLplot
Defining Plot Scales and Axes
Labelling the Graph
Drawing the Graph
Drawing Points
Drawing Lines or Curves
Writing Text on a Graph
Area Fills
More Complex Graphs
Finishing Up
In Case of Error

We describe simple use of PLplot in this chapter which includes many cross-references to elements of our common (C) API that use PLplot C types such as PLFLT and PLINT. For full documentation of all PLplot C types see here. The best way to learn how to use our common API for the language of your choice is to look at our standard set of examples. For additional language documentation you should consult the various chapters in Part III, “ Supported computer languages ” as well.