O'Reilly logo

MATLAB Graphical Programming by César Pérez López

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required