gnuplot Cookbook
eBook - ePub

gnuplot Cookbook

  1. 220 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

gnuplot Cookbook

About this book

In Detail

gnuplot is the world's finest technical plotting software, used by scientists, engineers, and others for many years. It is in constant development and runs on practically every operating system, and can produce output in almost any format. The quality of its 3d plots is unmatched and its ability to be incorporated into computer programs and document preparation systems is excellent.

gnuplot Cookbook - it will help you master gnuplot. Start using gnuplot immediately to solve your problems in data analysis and presentation. Quickly find a visual example of the graph you want to make and see a complete, working script for producing it. Learn how to use the new features in gnuplot 4.4. Find clearly explained, working examples of using gnuplot with LaTeX and with your own computer programming language.

You will master all the ins and outs of gnuplot through gnuplot Cookbook.

You will learn to plot basic 2d to complex 3d plots, annotate from simple labels to equations, integrate from simple scripts to full documents and computer progams. You will be taught to annotate graphs with equations and symbols that match the style of the rest of your text, thus creating a seamless, professional document. You will be guided to create a web page with an interactive graph, and add graphical output to your simulation or numerical analysis program.

Start using all of gnuplot's simple to complex features to suit your needs, without studying its 200 page manual through this Cookbook.

Approach

Written in Cookbook style, the reader will be taught the features of gnuplot through practical examples accompanied by rich illustrations and code. Every aspect has been considered to ensure ease of understanding of even complex features.

Who this book is for

Whether you are an old hand at gnuplot or new to it, this book is a convenient visual reference that covers the full range of gnuplot's capabilities, including its latest features. Some basic knowledge of plotting graphs is necessary.

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

gnuplot Cookbook


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 ...

Table of contents

  1. gnuplot Cookbook

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access gnuplot Cookbook by Lee Phillips in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.