gnuplot_quadeq_example

gnuplot_quadeq_example - Last revised: 2009-Jan-01 Plotting...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Last revised: 2009-Jan-01 Plotting Data from a File with Gnuplot This is a brief introduction by example to using the GNUPLOT plotting program to make XY plots of data from a file. We’ll use command-line arguments only (but you may also have access to a graphical interface). Start up GNUPLOT by typing “gnuplot”, which should give you some information and then a prompt gnuplot> at which you can type commands. You can get general help by typing help at the gnuplot> prompt or help on a specific command, e.g., gnuplot> help plot will tell you about the plot command. Here is the file quadratic_eq.dat , which was generated by a test program exploring subtractive cancellations in formulas for the roots of a quadratic equation ax 2 + bx + c = 0 in Session 2. # Calculation of quadratic equation roots in single precision # 1/c |relative error 1| |relative error 2| 1.000000e+01 4.355647e-07 4.893942e-07 1.000000e+02 1.765078e-06 1.852387e-06 1.000000e+03 3.503225e-05 3.505630e-05 1.000000e+04
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 06/30/2011 for the course PHYSICS 780 taught by Professor Furnstahl during the Winter '11 term at Ohio State.

Page1 / 2

gnuplot_quadeq_example - Last revised: 2009-Jan-01 Plotting...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online