
MATLAB Scientific Plotting and Data Analysis
- 1st Edition - August 6, 2025
- Imprint: Elsevier
- Author: Jinbin Ding
- Language: English
- Paperback ISBN:9 7 8 - 0 - 4 4 3 - 3 6 7 5 7 - 1
- eBook ISBN:9 7 8 - 0 - 4 4 3 - 3 6 7 5 8 - 8
MATLAB Scientific Plotting and Data Analysis combines the author's extensive experience in data analysis and scientific plotting to provide detailed explanations of the method… Read more
Purchase options

MATLAB Scientific Plotting and Data Analysis combines the author's extensive experience in data analysis and scientific plotting to provide detailed explanations of the methods and techniques for using MATLAB. The book is divided into three parts, consisting of 12 chapters. The first part covers the basics of MATLAB, including the operating environment, data types and basic operations, file operations, and programming. The second part focuses on MATLAB's data visualization capabilities, with topics such as figure window information, 2D plotting, 3D plotting, specialized plotting, and handle graphics objects.
The third part covers descriptive data analysis, interpolation and fitting, regression analysis, and optimization problem solving. Furthermore, this book provides links to over 200 examples of teaching videos and hands-on exercise resource files, enhancing readers' learning efficiency.
The third part covers descriptive data analysis, interpolation and fitting, regression analysis, and optimization problem solving. Furthermore, this book provides links to over 200 examples of teaching videos and hands-on exercise resource files, enhancing readers' learning efficiency.
- Provides a structured approach in 'MATLAB Scientific Plotting and Data Analysis' that allows beginners to progressively master MATLAB
- Caters to the needs of intermediate and advanced users who want to enhance their MATLAB skills
- Includes many examples, ensuring that theoretical knowledge is applied to real-world problems
- Presents many detailed charts, showcasing not only the applications of data visualization but also scientific plotting and how it can be applied in practice
Scientific researchers and engineering professionals engaged in data visualization and data analysis
1. Basic MATLAB operations
1.1 Working environment
1.1.1 User interface
1.1.2 Tabs
1.1.3 Command Window
1.1.4 Command History Window
1.1.5 Current Folder
1.1.6 Workspace and Variable Editor
1.2 Search path
1.2.1 Path search mechanism
1.2.2 Setting the search path
1.3 File operations
1.3.1 Opening Files
1.3.2 Closing files
1.3.3 Reading binary files
1.3.4 Writing binary files
1.3.5 Writing text files
1.3.6 Reading text files
1.4 Data import and export
1.4.1 Using the wizard to import data
1.4.2 Using functions to access data
1.5 Help system
1.5.1 Text help
1.5.2 Demo help
1.5.3 Help Navigator Window
1.6 Summary
2. Data types and basic operations
2.1 Data types
2.1.1 Numeric types
2.1.2 Character type
2.1.3 Structure
2.1.4 Cell arrays
2.1.5 Function handles
2.1.6 Map containers
2.2 Operators and operations
2.2.1 Arithmetic operators
2.2.2 Relational operators
2.2.3 Logical operators
2.2.4 Operator precedence
2.3 Basic matrix operations
2.3.1 Matrices and arrays
2.3.2 Creating matrices
2.3.3 Changing matrix structure
2.3.4 Matrix element indexing
2.3.5 Matrix information
2.4 Summary
3. Programming
3.1 Variables and statements
3.1.1 Variable naming
3.1.2 Variable types
3.1.3 Special variables
3.1.4 Keywords
3.1.5 Statement structure
3.2 Program control
3.2.1 Sequence structure
3.2.2 Branching structure
3.2.3 Loop structure
3.2.4 Other common control commands
3.3 M-files
3.3.1 M-file editor
3.3.2 Function M-files
3.3.3 Script M-files
3.4 Summary
4. Graphics window information
4.1 Figure window
4.1.1 Creating a figure window
4.1.2 Accessing the current axes or plot
4.1.3 Creating Cartesian axes
4.1.4 Clearing axes
4.1.5 Clearing a figure window
4.2 Tiled chart layout
4.2.1 Tiled chart layout function
4.2.2 Creating a layout
4.2.3 Specifying flow layout
4.2.4 Creating titles and axis labels for the layout
4.2.5 Creating axes spanning multiple rows and columns
4.2.6 Placing axis objects starting from a specific tile number
4.2.7 Replacing the content of a tile
4.3 Subplot layout
4.3.1 Subplot function
4.3.2 Creating subplots
4.3.3 Creating subplots of different sizes
4.3.4 Customizing subplot positions
4.3.5 Creating polar coordinate subplots
4.3.6 Setting a subplot as the current axes
4.3.7 Converting existing axes to a subplot
4.3.8 Merging axes from different figures into subplots
4.4 Axis information
4.4.1 Adding axis labels
4.4.2 Setting axis limits
4.4.3 Setting axis ticks
4.4.4 Setting axis tick labels
4.4.5 Rotating axis tick labels
4.4.6 Displaying axes box outline
4.4.7 Setting axis limits and aspect ratio
4.4.8 Displaying or hiding grid lines
4.4.9 Creating a dual Y-axis plot
4.5 Adding titles and legends
4.5.1 Adding titles
4.5.2 Adding subtitles
4.5.3 Adding a title to a subplot grid
4.5.4 Adding legends
4.6 Summary
5. 2D plotting
5.1 Data-based plotting
5.1.1 Basic steps for plotting
5.1.2 Basic plotting function
5.1.3 Workspace plotting
5.2 Function plotting
5.2.1 Functional plotting
5.2.2 Simplified plotting of univariate functions
5.2.3 Plotting implicit functions
5.3 Graph customization
5.3.1 Line style and color
5.3.2 Name-value pair arguments
5.3.3 Pattern fill
5.4 Special coordinate plots
5.4.1 Polar plots
5.4.2 Logarithmic plots
5.4.3 Cylindrical/spherical coordinate plots
5.5 Summary
6. 3D plotting
6.1 3D Plot creation
6.1.1 Basic plotting steps
6.1.2 Basic plotting functions
6.1.3 Plot annotations
6.2 Mesh and surface plots
6.2.1 Generating grid data
6.2.2 Data generation functions
6.2.3 Plotting mesh plots
6.2.4 Plotting surface plots
6.2.5 Plotting function surfaces
6.3 Controlling 3D plots
6.3.1 Setting the view angle
6.3.2 Setting the axes
6.3.3 Perspective, clipping, and hollowing
6.3.4 Color control
6.3.5 Lighting and material control
6.4 Summary
7. Specialized plots
7.1 Line plots
7.1.1 Creating stair plots
7.1.2 Line plot with error bars
7.1.3 Area plot
7.1.4 Stacked line plot
7.1.5 Contour plot
7.2 Distribution plots
7.2.1 Histogram
7.2.2 Bar plot
7.2.3 Bivariate histogram
7.2.4 Box plot
7.2.5 Swarm chart
7.2.6 3D swarm chart
7.2.7 Bubble chart
7.3 Scatter plot and parallel coordinate plot
7.3.1 Scatter plot
7.3.2 3D scatter plot
7.3.3 Binned scatter plot
7.3.4 Scatter plot with histograms
7.3.5 Scatter plot matrix
7.3.6 Parallel coordinates plot
7.4 Discrete data plots
7.4.1 Bar charts
7.4.2 3D bar charts
7.4.3 Pareto chart
7.4.4 Stem plot (discrete sequence data plot)
7.4.5 3D discrete sequence plot
7.5 Overall parts plot and heat map
7.5.1 Bubble cloud plot
7.5.2 Word cloud
7.5.3 Pie chart
7.5.4 3D pie chart
7.5.5 Heat map
7.6 Summary
8. Handle graphics objects
8.1 Handle graphics object system
8.1.1 Organization of handle graphics
8.1.2 Overview of handle graphics object types
8.2 Handle graphics object operations
8.2.1 Creating objects
8.2.2 Accessing object handles
8.2.3 Copying and deleting objects
8.2.4 Controlling graphical output
8.2.5 Saving handles
8.3 Setting properties of graphics objects
8.3.1 Setting properties
8.3.2 Setting default properties
8.3.3 Common properties
8.4 Core handle graphics objects
8.4.1 Figure objects
8.4.2 Core objects
8.4.3 Plot objects
8.4.4 Group objects
8.4.5 Annotation object
8.5 Axes objects
8.5.1 Labels and appearance
8.5.2 Axes position
8.5.3 Multiple axes in a single figure
8.5.4 Axes control
8.5.5 Line color control
8.5.6 Plotting operations
8.6 Summary
9. Descriptive data analysis
9.1 Basic statistics
9.1.1 Mean (expectation)
9.1.2 Median
9.1.3 Variance
9.1.4 Standard deviation
9.1.5 Higher-order moments
9.1.6 Correlation coefficient
9.1.7 Covariance
9.1.8 Cross-correlation
9.1.9 Cross-covariance
9.2 Skewness and kurtosis
9.2.1 Skewness
9.2.2 Kurtosis
9.3 Statistical data visualization
9.3.1 Andrews plot 308
9.3.2 Parallel coordinates plot
9.3.3 Biplot
9.3.4 Empirical cumulative distribution function plot
9.3.5 Q-Q plot (quantile-quantile plot)
9.3.6 Box plot
9.4 Summary
10. Interpolation and fitting
10.1 Data interpolation
10.1.1 One-dimensional interpolation
10.1.2 Two-dimensional interpolation
10.1.3 Three-dimensional interpolation
10.1.4 Multidimensional interpolation
10.1.5 Cubic spline interpolation
10.1.6 Piecewise cubic Hermite interpolation
10.1.7 Modified Akima piecewise cubic Hermite interpolation
10.2 Curve fitting
10.2.1 Polynomial fitting
10.2.2 Curve fitting tool
10.3 Summary
11. Regression analysis
11.1 Univariate polynomial regression
11.1.1 Obtaining fitted data
11.1.2 Estimation and residuals
11.1.3 Confidence intervals
11.1.4 Interactive environment
11.2 Multiple linear regression
11.2.1 Multiple regression modeling
11.2.2 Multiple regression Residual Plot
11.3 Nonlinear regression
11.3.1 Regression model
11.3.2 Regression prediction
11.3.3 Confidence intervals for regression
11.3.4 Interactive environment
11.3.5 Curve fitting tool
11.4 Stepwise regression
11.4.1 Stepwise regression modeling
11.4.2 Interactive environment
11.5 Summary
12. Solving optimization problems
12.1 Problem-based optimization
12.1.1 Creating optimization variables
12.1.2 Creating equation problems
12.1.3 Creating optimization problems
12.1.4 Solving optimization or equation problems
12.2 Solver-based optimization
12.2.1 Linear programming
12.2.2 Constrained nonlinear programming
12.2.3 Unconstrained nonlinear optimization
12.2.4 Multi-objective optimization
12.2.5 Quadratic programming
12.3 Least squares optimization problems
12.3.1 Constrained linear least squares
12.3.2 Nonlinear curve fitting
12.3.3 Non-negative least squares
12.4 Summary
1.1 Working environment
1.1.1 User interface
1.1.2 Tabs
1.1.3 Command Window
1.1.4 Command History Window
1.1.5 Current Folder
1.1.6 Workspace and Variable Editor
1.2 Search path
1.2.1 Path search mechanism
1.2.2 Setting the search path
1.3 File operations
1.3.1 Opening Files
1.3.2 Closing files
1.3.3 Reading binary files
1.3.4 Writing binary files
1.3.5 Writing text files
1.3.6 Reading text files
1.4 Data import and export
1.4.1 Using the wizard to import data
1.4.2 Using functions to access data
1.5 Help system
1.5.1 Text help
1.5.2 Demo help
1.5.3 Help Navigator Window
1.6 Summary
2. Data types and basic operations
2.1 Data types
2.1.1 Numeric types
2.1.2 Character type
2.1.3 Structure
2.1.4 Cell arrays
2.1.5 Function handles
2.1.6 Map containers
2.2 Operators and operations
2.2.1 Arithmetic operators
2.2.2 Relational operators
2.2.3 Logical operators
2.2.4 Operator precedence
2.3 Basic matrix operations
2.3.1 Matrices and arrays
2.3.2 Creating matrices
2.3.3 Changing matrix structure
2.3.4 Matrix element indexing
2.3.5 Matrix information
2.4 Summary
3. Programming
3.1 Variables and statements
3.1.1 Variable naming
3.1.2 Variable types
3.1.3 Special variables
3.1.4 Keywords
3.1.5 Statement structure
3.2 Program control
3.2.1 Sequence structure
3.2.2 Branching structure
3.2.3 Loop structure
3.2.4 Other common control commands
3.3 M-files
3.3.1 M-file editor
3.3.2 Function M-files
3.3.3 Script M-files
3.4 Summary
4. Graphics window information
4.1 Figure window
4.1.1 Creating a figure window
4.1.2 Accessing the current axes or plot
4.1.3 Creating Cartesian axes
4.1.4 Clearing axes
4.1.5 Clearing a figure window
4.2 Tiled chart layout
4.2.1 Tiled chart layout function
4.2.2 Creating a layout
4.2.3 Specifying flow layout
4.2.4 Creating titles and axis labels for the layout
4.2.5 Creating axes spanning multiple rows and columns
4.2.6 Placing axis objects starting from a specific tile number
4.2.7 Replacing the content of a tile
4.3 Subplot layout
4.3.1 Subplot function
4.3.2 Creating subplots
4.3.3 Creating subplots of different sizes
4.3.4 Customizing subplot positions
4.3.5 Creating polar coordinate subplots
4.3.6 Setting a subplot as the current axes
4.3.7 Converting existing axes to a subplot
4.3.8 Merging axes from different figures into subplots
4.4 Axis information
4.4.1 Adding axis labels
4.4.2 Setting axis limits
4.4.3 Setting axis ticks
4.4.4 Setting axis tick labels
4.4.5 Rotating axis tick labels
4.4.6 Displaying axes box outline
4.4.7 Setting axis limits and aspect ratio
4.4.8 Displaying or hiding grid lines
4.4.9 Creating a dual Y-axis plot
4.5 Adding titles and legends
4.5.1 Adding titles
4.5.2 Adding subtitles
4.5.3 Adding a title to a subplot grid
4.5.4 Adding legends
4.6 Summary
5. 2D plotting
5.1 Data-based plotting
5.1.1 Basic steps for plotting
5.1.2 Basic plotting function
5.1.3 Workspace plotting
5.2 Function plotting
5.2.1 Functional plotting
5.2.2 Simplified plotting of univariate functions
5.2.3 Plotting implicit functions
5.3 Graph customization
5.3.1 Line style and color
5.3.2 Name-value pair arguments
5.3.3 Pattern fill
5.4 Special coordinate plots
5.4.1 Polar plots
5.4.2 Logarithmic plots
5.4.3 Cylindrical/spherical coordinate plots
5.5 Summary
6. 3D plotting
6.1 3D Plot creation
6.1.1 Basic plotting steps
6.1.2 Basic plotting functions
6.1.3 Plot annotations
6.2 Mesh and surface plots
6.2.1 Generating grid data
6.2.2 Data generation functions
6.2.3 Plotting mesh plots
6.2.4 Plotting surface plots
6.2.5 Plotting function surfaces
6.3 Controlling 3D plots
6.3.1 Setting the view angle
6.3.2 Setting the axes
6.3.3 Perspective, clipping, and hollowing
6.3.4 Color control
6.3.5 Lighting and material control
6.4 Summary
7. Specialized plots
7.1 Line plots
7.1.1 Creating stair plots
7.1.2 Line plot with error bars
7.1.3 Area plot
7.1.4 Stacked line plot
7.1.5 Contour plot
7.2 Distribution plots
7.2.1 Histogram
7.2.2 Bar plot
7.2.3 Bivariate histogram
7.2.4 Box plot
7.2.5 Swarm chart
7.2.6 3D swarm chart
7.2.7 Bubble chart
7.3 Scatter plot and parallel coordinate plot
7.3.1 Scatter plot
7.3.2 3D scatter plot
7.3.3 Binned scatter plot
7.3.4 Scatter plot with histograms
7.3.5 Scatter plot matrix
7.3.6 Parallel coordinates plot
7.4 Discrete data plots
7.4.1 Bar charts
7.4.2 3D bar charts
7.4.3 Pareto chart
7.4.4 Stem plot (discrete sequence data plot)
7.4.5 3D discrete sequence plot
7.5 Overall parts plot and heat map
7.5.1 Bubble cloud plot
7.5.2 Word cloud
7.5.3 Pie chart
7.5.4 3D pie chart
7.5.5 Heat map
7.6 Summary
8. Handle graphics objects
8.1 Handle graphics object system
8.1.1 Organization of handle graphics
8.1.2 Overview of handle graphics object types
8.2 Handle graphics object operations
8.2.1 Creating objects
8.2.2 Accessing object handles
8.2.3 Copying and deleting objects
8.2.4 Controlling graphical output
8.2.5 Saving handles
8.3 Setting properties of graphics objects
8.3.1 Setting properties
8.3.2 Setting default properties
8.3.3 Common properties
8.4 Core handle graphics objects
8.4.1 Figure objects
8.4.2 Core objects
8.4.3 Plot objects
8.4.4 Group objects
8.4.5 Annotation object
8.5 Axes objects
8.5.1 Labels and appearance
8.5.2 Axes position
8.5.3 Multiple axes in a single figure
8.5.4 Axes control
8.5.5 Line color control
8.5.6 Plotting operations
8.6 Summary
9. Descriptive data analysis
9.1 Basic statistics
9.1.1 Mean (expectation)
9.1.2 Median
9.1.3 Variance
9.1.4 Standard deviation
9.1.5 Higher-order moments
9.1.6 Correlation coefficient
9.1.7 Covariance
9.1.8 Cross-correlation
9.1.9 Cross-covariance
9.2 Skewness and kurtosis
9.2.1 Skewness
9.2.2 Kurtosis
9.3 Statistical data visualization
9.3.1 Andrews plot 308
9.3.2 Parallel coordinates plot
9.3.3 Biplot
9.3.4 Empirical cumulative distribution function plot
9.3.5 Q-Q plot (quantile-quantile plot)
9.3.6 Box plot
9.4 Summary
10. Interpolation and fitting
10.1 Data interpolation
10.1.1 One-dimensional interpolation
10.1.2 Two-dimensional interpolation
10.1.3 Three-dimensional interpolation
10.1.4 Multidimensional interpolation
10.1.5 Cubic spline interpolation
10.1.6 Piecewise cubic Hermite interpolation
10.1.7 Modified Akima piecewise cubic Hermite interpolation
10.2 Curve fitting
10.2.1 Polynomial fitting
10.2.2 Curve fitting tool
10.3 Summary
11. Regression analysis
11.1 Univariate polynomial regression
11.1.1 Obtaining fitted data
11.1.2 Estimation and residuals
11.1.3 Confidence intervals
11.1.4 Interactive environment
11.2 Multiple linear regression
11.2.1 Multiple regression modeling
11.2.2 Multiple regression Residual Plot
11.3 Nonlinear regression
11.3.1 Regression model
11.3.2 Regression prediction
11.3.3 Confidence intervals for regression
11.3.4 Interactive environment
11.3.5 Curve fitting tool
11.4 Stepwise regression
11.4.1 Stepwise regression modeling
11.4.2 Interactive environment
11.5 Summary
12. Solving optimization problems
12.1 Problem-based optimization
12.1.1 Creating optimization variables
12.1.2 Creating equation problems
12.1.3 Creating optimization problems
12.1.4 Solving optimization or equation problems
12.2 Solver-based optimization
12.2.1 Linear programming
12.2.2 Constrained nonlinear programming
12.2.3 Unconstrained nonlinear optimization
12.2.4 Multi-objective optimization
12.2.5 Quadratic programming
12.3 Least squares optimization problems
12.3.1 Constrained linear least squares
12.3.2 Nonlinear curve fitting
12.3.3 Non-negative least squares
12.4 Summary
- Edition: 1
- Published: August 6, 2025
- Imprint: Elsevier
- Language: English
JD
Jinbin Ding
Dr Jinbin Ding graduated from the University of Aeronautics and Astronautics in China, and now works at the Chinese Academy of Sciences. He is a senior engineer and a master's supervisor at the University of the Chinese Academy of Sciences, with nearly twenty years of experience in scientific research. He is currently involved in major national science and technology projects, and is proficient in various engineering applications and data analysis software. He has received honors such as the National Patent Award, the Beijing Patent Award, and the Special Award for Achievement Transformation from the Chinese Academy of Sciences
Affiliations and expertise
University of the Chinese Academy of Sciences