IHYPRESS PROGRAMMING
Gnuplot scripts with code and output for beginners
HOME
|
ASP
|
C
|
CSS
|
GNUPLOT
|
HTML
|
JAVASCRIPT
|
PERL
|
PHP
|
PYTHON
|
RUBY
|
SVG
A Basic Plot
A plot of the sin(x) function with only one command and no options.
The
linepoints (lp)
Option
A plot of the cos(x) function with the lp option (linepoints)
Thickness and Line Types
A plot of the sin(x) function with the line command with thickness (lw) and linetype (dt) options
Point Markers
Point markers can be used with the p and lp options of the plot command.
The
set
Command
An example of some popular options of the set command.
Multiple Plots
Multiple plots on different figures with the same script.
Data File and Multiple Lines
An example of plotting monthly temperature averages over several years using a data file.
Subplots (Multiplots)
A layout of multiple plots on the same figure.
Multiple Function Plots
Plotting multiple functions on the same figure.
Plot with Error Bars
A plot with error bars using a data file.
Bar Plot
A bar plot using a text column in the datafile with optional colours, fill patterns and box width.
Style Sheets
Understanding style sheets to create different line styles and colours.
Colour Names
The complete list of the colour names that can be used in Gnuplot.
COPYRIGHT © 2015-2024 IHY PRESS Frankfurt am Main 60329 Deutschland