Table of Contents
gnuplot Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
Why gnuplot?
Why this book?
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Plotting Curves, Boxes, Points, and more
Introduction
Plotting a function
Getting ready
How to do itā¦
There's moreā¦
Plotting multiple curves
Getting ready
How to do itā¦
How it worksā¦
Using two different y-axes
How to do itā¦
How it worksā¦
There's moreā¦
Making a scatterplot
Getting ready
How to do itā¦
There's moreā¦
Plotting boxes
How to do itā¦
How it worksā¦
There's moreā¦
Plotting circles
Getting ready
How to do itā¦
How it worksā¦
Drawing filled curves
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
Handling financial data
Getting ready
How to do itā¦
How it worksā¦
Making a basic histogram plot
Getting ready
How to do itā¦
How it worksā¦
Stacking histograms
Getting ready
How to do itā¦
How it worksā¦
Plotting multiple histograms
Getting ready
How to do itā¦
How it worksā¦
Dealing with errors
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
Making a statistical whisker plot
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
Making an impulse plot
How to do itā¦
How it worksā¦
There's moreā¦
Graphing parametric curves
How to do itā¦
How it worksā¦
There's moreā¦
Plotting with polar coordinates
How to do itā¦
How it worksā¦
2. Annotating with Labels and Legends
Introduction
Labeling the axes
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
Setting the label size
How to do itā¦
How it worksā¦
There's moreā¦
Adding a legend
How to do itā¦
How it worksā¦
There's moreā¦
Putting a box around the legend
How to do itā¦
How it worksā¦
Adding a label with an arrow
How to do itā¦
How it worksā¦
Using Unicode characters [new]
Getting ready
How to do itā¦
How it worksā¦
Putting equations in your labels
How to do itā¦
How it worksā¦
3. Applying Colors and Styles
Introduction
Coloring your curves
How to do itā¦
How it worksā¦
There's moreā¦
Styling your curves
How to do itā¦
How it worksā¦
There's moreā¦
Applying transparency [new]
How to do itā¦
How it worksā¦
There's moreā¦
Plotting points with curves
How to do itā¦
How it worksā¦
Changing the point style
How to do itā¦
How it worksā¦
Changing the plot size
How to do itā¦
How it worksā¦
Positioning graphs on the page [new]
How to do itā¦
How it worksā¦
Plotting with objects [new]
How to do itā¦
How it worksā¦
4. Controlling your Tics
Introduction
Adding minor tics
How to do itā¦
How it worksā¦
Placing tics on the second y-axis
How to do itā¦
How it worksā¦
Adjusting the tic size
How to do itā¦
How it worksā¦
There's moreā¦
Removing all tics
How to do itā¦
How it worksā¦
Defining the tic values
How to do itā¦
How it worksā¦
Making the tics stick out
How to do itā¦
How it worksā¦
Setting manual tics
How to do itā¦
How it worksā¦
There's moreā¦
Plotting with dates and times
Getting ready
How to do itā¦
How it worksā¦
Changing the language used for labels [new]
How to do itā¦
How it worksā¦
Using European-style decimals [new]
How to do itā¦
How it worksā¦
Formatting tic labels
How to do itā¦
How it worksā¦
There's more...
5. Combining Multiple Plots
Introduction
Arranging an array of plots
How to do itā¦
How it worksā¦
Positioning plots manually
How to do itā¦
How it worksā¦
There's moreā¦
Creating an inset plot
How to do itā¦
How it worksā¦
Multiplotting with labels and arrows
How to do itā¦
How it worksā¦
6. Including Plots in Documents
Introduction
Introducing gnuplot's high-quality graphics formats [new]
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
The wxt terminal
The pdfcairo terminal
The svg terminal
Adding a plot to a paper using LaTeX
Getting ready
How to do itā¦
Creating the figure
The TeX document
Running LaTeX
How it worksā¦
Assembling a document using TikZ and LaTeX [new]
Getting ready
How to do itā¦
Making the plot
The LaTeX document
How it worksā¦
Assembling a document using epslatex
How to do itā¦
Making the plot
The LaTeX document
Producing the PDF
How it worksā¦
Using gnuplot within LaTeX
Getting ready
How to do itā¦
How it worksā¦
Creating presentation slides with incrementally displayed graphs
Getting ready
How to do itā¦
Making the plots
The LaTeX document
How it worksā¦
The gnuplot script
The LaTeX document
Including a plot in a web page
How to do itā¦
The gnuplot script
The HTML source
How it worksā¦
There's moreā¦
Making an interactive plot for the Web [new]
Getting ready
How to do itā¦
How it worksā¦
There's moreā¦
7. Programming gnuplot and Dealing with Data
Introduction
Scripting gnuplot with its own language
How to do itā¦
How it worksā¦
There's moreā¦
Plotting on subintervals
How to do itā¦
How it worksā¦
Smoothing your data
Getting ready
How to do itā¦
How it worksā¦
Fitting functions to your data
Getting ready
How to do itā¦
How it worksā¦
Using kdensity smoothing to improve on histograms [new]
Getting ready
How to ...