1 / 10

gnuplot

gnuplot. What is gnuplot? an interactive plotting program. Learning gnuplot in 15 minutes. First 2 minutes: plotting interactively. Step1: type “gnuplot” at your terminal. Step2: type “plot sin(x) with line”. Step3: type “plot sin(x) with point”.

zia-york
Télécharger la présentation

gnuplot

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. gnuplot What is gnuplot? an interactive plotting program

  2. Learning gnuplot in 15 minutes First 2 minutes: plotting interactively Step1: type “gnuplot” at your terminal Step2: type “plot sin(x) with line” Step3: type “plot sin(x) with point” In gnuplot you can do every think interactively

  3. Learning gnuplot in 15 minutes Second 2 minutes: abbreviations Step1: Instead of typing “plot sin(x) with line” you can type “p sin(x) w l” Step2: Instead of typing “plot sin(x) with point” you can type “p sin(x) w p” In gnuplot you can use lots of abbreviations

  4. Learning gnuplot in 10 minutes third 2 minutes: save our plot Step1: Plot every thing you want Step2: Type “set terminal postscript color” Step3: Type “set output “nameofplot.ps”” Step4: Type “replot” or “rep” In gnuplot “set” keyword use to set color, output, title, labels and ...

  5. Learning gnuplot in 15 minutes 4th 2 minutes: set label and title Step1: Plot every thing you want Step2: Type “set title “plotname”” Step3: Type “set ylable “ylabel”” Step4: Type “set xlable “xlabel”” Step5: Type “replot” or “rep” In gnuplot “set” keyword use to set color, output, title, labels and ...

  6. Learning gnuplot in 15 minutes 5th 2 minutes: plot several plots on one windows Step1: Type “plot sin(x) with line title “sin(x)”” Step2: Type “replot sin(x**2) with line title “sin(x^2)”” Step3: Type “replot x**2 with line title “x^2”” Step4: Type “replot ... You can also do this: “p sin(x) w l t “sin(x), sin(x**2) w l t “sin(x^2), x**2 ...”

  7. Learning gnuplot in 15 minutes 6th 2 minutes: set range of your plot Step1: Type “plot [-5:5][-2:2] sin(x) with line” Step2: Type “plot [-5:] sin(x) with line” Step3: Type “plot [:][-2:2] sin(x) with line” When you set a range, this range is applied for other plots

  8. Learning gnuplot in 15 minutes 7th 2 minutes: plotting data Step1: Type “plot “yourdata.dat” using 1:2 with line” Step2: Type “plot “yourdata.dat” using 1:3 with line” You can use instead of “using” its abbreviation .e.g. “u”: “p “yourdata.dat” u 1:2 w l”

  9. Last minute See this web sites, it will be very useful to learn more: Goto gnuplot homepage: http://www.gnuplot.info Goto gnuplot demos: http://www.gnuplot.info/screenshots/index.html#demos Goto gnuplot tutorial: http://www.gnuplot.info/help.html See also: http://t16web.lanl.gov/Kawano/gnuplot/index-e.html Use Google to learn more about gnuplot

  10. Other means for plotting Origin Sigmaplot Xmgrace

More Related