gnuplot Cookbook

gnuplot Cookbook
eBook: $23.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $63.98    Print cover: $39.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • See a picture of the graph you want to make and find a ready-to-run script to produce it
  • Working examples of using gnuplot in your own programming language... C, Python, and more
  • Find a problem-solution approach with practical examples enriched with good pictorial illustrations and code

Book Details

Language : English
Paperback : 220 pages [ 235mm x 191mm ]
Release Date : February 2012
ISBN : 184951724X
ISBN 13 : 9781849517249
Author(s) : Lee Phillips
Topics and Technologies : All Books, Big Data and Business Intelligence, Data, Cookbooks, Open Source

Table of Contents

Chapter 1: Plotting Curves, Boxes, Points, and more
Chapter 2: Annotating with Labels and Legends
Chapter 3: Applying Colors and Styles
Chapter 4: Controlling your Tics
Chapter 5: Combining Multiple Plots
Chapter 6: Including Plots in Documents
Chapter 7: Programming gnuplot and Dealing with Data
Chapter 8: The Third Dimension
Chapter 9: Using and Making Graphical User Interfaces
Chapter 10: Surveying Special Topics
Appendix: Finding Help and Information
  • Chapter 1: Plotting Curves, Boxes, Points, and more
    • Introduction
    • Plotting a function
    • Plotting multiple curves
    • Using two different y-axes
    • Making a scatterplot
    • Plotting boxes
    • Plotting circles
    • Drawing filled curves
    • Handling financial data
    • Making a basic histogram plot
    • Stacking histograms
    • Plotting multiple histograms
    • Dealing with errors
    • Making a statistical whisker plot
    • Making an impulse plot
    • Graphing parametric curves
    • Plotting with polar coordinates
    • Chapter 2: Annotating with Labels and Legends
      • Introduction
      • Labeling the axes
      • Setting the label size
      • Adding a legend
      • Putting a box around the legend
      • Adding a label with an arrow
      • Using Unicode characters [new]
      • Putting equations in your labels
      • Chapter 3: Applying Colors and Styles
        • Introduction
        • Coloring your curves
        • Styling your curves
        • Applying transparency [new]
        • Plotting points with curves
        • Changing the point style
        • Changing the plot size
        • Positioning graphs on the page [new]
        • Plotting with objects [new]
        • Chapter 4: Controlling your Tics
          • Introduction
          • Adding minor tics
          • Placing tics on the second y-axis
          • Adjusting the tic size
          • Removing all tics
          • Defining the tic values
          • Making the tics stick out
          • Setting manual tics
          • Plotting with dates and times
          • Changing the language used for labels [new]
          • Using European-style decimals [new]
          • Formatting tic labels
            • Chapter 6: Including Plots in Documents
              • Introduction
              • Introducing gnuplot's high-quality graphics formats [new]
              • Adding a plot to a paper using LaTeX
              • Assembling a document using TikZ and LaTeX [new]
              • Assembling a document using epslatex
              • Using gnuplot within LaTeX
              • Creating presentation slides with incrementally displayed graphs
              • Including a plot in a web page
              • Making an interactive plot for the Web [new]
              • Chapter 7: Programming gnuplot and Dealing with Data
                • Introduction
                • Scripting gnuplot with its own language
                • Plotting on subintervals
                • Smoothing your data
                • Fitting functions to your data
                • Using kdensity smoothing to improve on histograms [new]
                • Creating a cumulative distribution [new]
                • Talking to gnuplot with C
                • Scripting gnuplot with Python
                • Plotting with Clojure
                • Handling volatile data [new]
                • Chapter 8: The Third Dimension
                  • Introduction
                  • Making a surface plot
                  • Using coordinate mappings
                  • Coloring the surface
                  • Making a contour plot
                  • Making a vector plot
                  • Making an image plot or heat map
                  • Combining contours and images
                  • Combining surfaces with images
                  • Plotting a path in 3D
                  • Drawing parametric surfaces
                    • Chapter 10: Surveying Special Topics
                      • Introduction
                      • Avoiding overlapping labels
                      • Plotting labels from files
                      • Mapping the Earth
                      • Making a labeled contour plot
                      • Softening the axes
                      • Putting arrows on the axes
                      • Plotting with pictures
                      • Breaking an axis
                      • Fitting the grid to the data
                      • Coloring the axes

                      Lee Phillips

                      Lee Phillips grew up on the 17th floor of a public housing project on the Lower East Side of Manhattan. He attended Stuyvesant High School and Hampshire College, where he studied Physics, Mathematics, and Music. He received a Ph.D. in 1987 from Dartmouth in theoretical and computational physics for research in fluid dynamics. After completing post-doctoral work in plasma physics, Dr. Phillips was hired by the Naval Research Laboratory in Washington, DC, where he worked on various problems, including the NIKE laser fusion project. Dr. Phillips is now the Chief Scientist of the Alogus Research Corporation, which conducts research in the physical sciences and provides technology assessment for investors.

                      Code Downloads

                      Download the code and support files for this book.

                      Submit Errata

                      Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                      Sample chapters

                      You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                      Frequently bought together

                      gnuplot Cookbook +    Yahoo User Interface Library 2.x Cookbook =
                      50% Off
                      the second eBook
                      Price for both: ₨314.00

                      Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                      What you will learn from this book

                      • Control the exact appearance of your graph
                      • Create illustrations out of multiple plots
                      • Rearrange your data before plotting
                      • Create professional quality technical documents with beautiful illustrations
                      • Add graphical output to your computer programs, in any language
                      • Make web pages with interactive graphs

                      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.


                      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.

                      Code Download and Errata
                      Packt Anytime, Anywhere
                      Register Books
                      Print Upgrades
                      eBook Downloads
                      Video Support
                      Contact Us
                      Awards Voting Nominations Previous Winners
                      Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                      Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software