CHAPTER 5

image

Graphics Special Commands

5.1 Two Dimensional Graphics: FPLOT and EZPLOT

Commands fplot and ezplot graph curves using commands developed for a wide array of cases without having to specify all the details built in every time. Their syntax is as follows:

fplot(‘f’, [xmin, xmax])

Graphs the function between the limits in each case given in this table.

fplot(‘f’,[xmin, xmax,

ymin, ymax], S)

Graphs the function at intervals of variation of x and y

, with options for color and characters given by S. ymin and ymax control the values of the vertical axis.

fplot(‘[f1,f2,...,fn]’,[xmin,

xmax, ymin, ymax], S,t,n)

Graphs functions f1, f2,..., fn on ...

Get MATLAB Graphical Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.