graphics_simple
graphics_simple,
C code which
illustrates how simple plots can be made,
comparing dislin(), gnuplot(), and MATLAB/Octave;
Licensing:
The information on this web page is distributed under the MIT license.
Reference:
-
Philipp Janert,
Gnuplot in Action: Understanding Data with Graphs,
Manning, 2010,
ISBN13: 978-1-933988-39-8,
LC: QA276.4.J37.
-
Patrick Marchand, Thomas Holland,
Graphics and GUIs with MATLAB,
CRC Press, 1999,
ISBN13: 9780849390012.
-
Helmut Michels,
The Data Plotting Software DISLIN - version 10.4,
Shaker Media GmbH, January 2010,
ISBN13: 978-3-86858-517-9.
Source code:
bulgaria_plot records the population in Bulgaria from 1887 to 2022.
The graph should plot the data points as circles, and connect consecutive
data points with straight line segments to suggest a curve.
Several graphics packages are used.
bulgaria_plot_dislin() uses dislin():
bulgaria_plot_gnuplot() uses gnuplot():
bulgaria_plot_matlab() uses MATLAB():
humps_plot evaluates the function y=humps(x) over the
interval [0,2] and creates a plot. No data file needs to be read.
Several graphics packages are used.
humps_plot_dislin() uses dislin():
humps_plot_gnuplot() uses gnuplot():
humps_plot_matlab() uses MATLAB():
Last modified on 28 September 2024.