Skip to Main Content
Programming in MATLAB ®: A Problem-Solving Approach by Pearson
book

Programming in MATLAB ®: A Problem-Solving Approach by Pearson

by Ram N. Patel, Ankush Mittal
May 2024
Intermediate to advanced content levelIntermediate to advanced
433 pages
13h 7m
English
Pearson India
Content preview from Programming in MATLAB ®: A Problem-Solving Approach by Pearson
68
Ñ
MATLAB Graphics and Plotting
The first method (using single plot command) is useful when the functions to be plotted are
known a priori. However, if some of the functions are to be plotted based on some conditions,
the second method is useful.
3.4.2 Some Important Functions on Multiple Plots
The general form of the plot command used for multiple plots is:
plot (x1,y1, ‘style1’, x2,y2,‘style2’,...,xn,yn, ‘style-n’)
1. It plots multiple curves on the same graph. If the “style” argument is omitted, it will assume
a solid line.
2. Labeling of the graph can be accomplished using the commands: xlabel, ylabel,
title, and legend.
3. The argument ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Applied Numerical Methods Using MATLAB, 2nd Edition

Applied Numerical Methods Using MATLAB, 2nd Edition

Won Y. Yang, Wenwu Cao, Jaekwon Kim, Kyung W. Park, Ho-Hyun Park, Jingon Joung, Jong-Suk Ro, Han L. Lee, Cheol-Ho Hong, Taeho Im
MATLAB Recipes: A Problem-Solution Approach

MATLAB Recipes: A Problem-Solution Approach

Michael Paluszek, Stephanie Thomas
Practical MATLAB Deep Learning: A Projects-Based Approach

Practical MATLAB Deep Learning: A Projects-Based Approach

Michael Paluszek, Stephanie Thomas, Eric Ham

Publisher Resources

ISBN: 9781306983440Publisher Website