Syntax ezplot(f) ezplot(f,[min,max]) ezplot(f,[xmin,xmax,ymin,ymax]) ezplot(x,y) ezplot(x,y,[tmin,tmax]) ezplot(
Serwis znalezionych hasełOdnośniki
- Smutek to uczucie, jak gdyby się tonęło, jak gdyby grzebano cię w ziemi.
- Aby uniknąć tego śmiesznego, rzecz jasna, wniosku, w 1900 roku niemiecki uczony Max Pianek sformułował tezę, że światło, promienie Roentgena i inne fale...
- Cóż, von Halbach był teraz człowiekiem bardzo bogatym, a nazywał się Willi Max...
- no w y kon y w a ć m a s a ż m i e j s c ow y , t a k...
- dopiero dziś napiętnowano znakiem Satrapy...
- — O co chodzi? — zapytaÅ‚ Pawldo, podejrzewajÄ…c, że oto spokojny poranek dobiegÅ‚ koÅ„ca...
- wywołuje wesołość...
- Mięso większych gatunków jest jadalne; skórki, choć nie najlepszej jakości, wykorzystywane są w kuśnierstwie...
- Will zacisnął zęby, sama myśl o tej czynności była obrzydliwa, ale ją wykonał, potem dołożył starań, by odnosząc młodzieńca na posłanie nie narażać go...
- Wypisawszy na swych sztandarach hasła antypaństwochodowe, wołając, że lepiej zginąć niż iść na wcielenie w głąb łydy czy brzucha wieloraba, by styrać się...
- a żadna ze stron, mimo półminutowej obserwacji, nie wykonała najmniejszego ruchu, choć nie ulegało wątpliwości, że obcy nie żywią przyjaznych zamiarów...
Smutek to uczucie, jak gdyby się tonęło, jak gdyby grzebano cię w ziemi.
..,figure)
Description
ezplot(f) plots the expression f = f(x) over the default domain: -2Ï€ < x < 2Ï€.
ezplot(f,[min,max]) plots f = f(x) over the domain: min < x < max.
For implicitly defined functions, f = f(x,y):
ezplot(f) plots f(x,y) = 0 over the default domain -2Ï€ < x < 2Ï€, -2Ï€ < y < 2Ï€.
ezplot(f,[xmin,xmax,ymin,ymax]) plots f(x,y) = 0 over xmin < x < xmax and ymin < y < ymax.
ezplot(f,[min,max])plots f(x,y) = 0 over min < x < max and min < y < max.
If f is a function of the variables u and v (rather than x and y), then the domain endpoints umin, umax, vmin, and vmax are sorted alphabetically. Thus,
ezplot('u^2 - v^2 - 1',[-3,2,-2,3]) plots u 2 - v 2 - 1 = 0 over -3 < u < 2, -2
< v < 3.
ezplot(x,y) plots the parametrically defined planar curve x = x(t) and y = y(t) over the default domain 0 < t < 2Ï€.
ezplot(x,y,[tmin,tmax]) plots x = x(t) and y = y(t) over tmin < t < tmax.
ezplot(...,figure) plots the given function over the specified domain in the
figure window identified by the handle figure.
Remarks
Array multiplication, division, and exponentiation are always implied in the
expression you pass to ezplot. For example, the MATLAB syntax for a plot of
the expression,
x.^2 - y.^2
which represents an implicitly defined function, is written as:
ezplot('x^2 - y^2')
2-527
ezplot
That is, x^2 is interpreted as x.^2 in the string you pass to ezplot.
Examples
This example plots the implicitly defined function,
x 2 - y 4 = 0
over the domain [-2Ï€, 2Ï€]:
ezplot('x^2-y^4')
x2−y4 = 0
6
4
2
y
0
−2
−4
−6
−6
−4
−2
0
2
4
6
x
See Also
ezcontour, ezcontourf, ezmesh, ezmeshc, ezplot3, ezpolar, ezsurf, ezsurfc,
plot
2-528
ezplot3
2ezplot3
Purpose
Easy to use 3-D parametric curve plotter
Syntax
ezplot3(x,y,z)
ezplot3(x,y,z,[tmin,tmax])
ezplot3(...,'animate')
Description
ezplot3(x,y,z) plots the spatial curve x = x(t), y = y(t), and z = z(t) over the default domain 0 < t < 2Ï€.
ezplot3(x,y,z,[tmin,tmax]) plots the curve x = x(t), y = y(t), and z = z(t) over the domain tmin < t < tmax.
ezplot3(...,'animate') produces an animated trace of the spatial curve.
Remarks
Array multiplication, division, and exponentiation are always implied in the
expression you pass to ezplot3. For example, the MATLAB syntax for a plot of
the expression,
x = s./2, y = 2.*s, z = s.^2;
which represents a parametric function, is written as:
ezplot3('s/2','2*s','s^2')
That is, s/2 is interpreted as s./2 in the string you pass to ezplot3.
Examples
This example plots the parametric curve,
x = sin t,
y = cos t,
z = t
over the domain [0,6Ï€]:
ezplot3('sin(t)','cos(t)','t',[0,6*pi])
2-529
ezplot3
x = sin(t), y = cos(t), z = t
20
15
10
z
5
0
1
0.5
1
0.5
0
0
−0.5
−0.5
−1
−1
y
x
See Also
ezcontour, ezcontourf, ezmesh, ezmeshc, ezplot, ezpolar, ezsurf, ezsurfc,
plot3
2-530
ezpolar
2ezpolar
Purpose
Easy to use polar coordinate plotter
Syntax
ezpolar(f)
ezpolar(f,[a,b])
Description
ezpolar(f) plots the polar curve rho = f(theta) over the default domain 0 < theta < 2Ï€.
ezpolar(f,[a,b]) plots f for a < theta < b.
Examples
This example creates a polar plot of the function,
1 + cos(t)
over the domain [0, 2Ï€]:
ezpolar('1+cos(t)')
90
2
120
60
1.5
150
1
30
0.5
180
0
210
330
240
300
270
r = 1+cos(t)
See Also
ezplot, ezplot3, ezsurf, plot, plot3, polar
2-531
ezsurf
2ezsurf
Purpose
Easy to use 3-D colored surface plotter
Syntax
ezsurf(f)
ezsurf(f,domain)
ezsurf(x,y,z)
ezsurf(x,y,z,[smin,smax,tmin,tmax]) or ezsurf(x,y,z,[min,max])
ezsurf(...,n)
ezsurf(...,'circ')
Description
ezsurf(f) creates a graph of f(x,y), where f is a string that represents a
mathematical function of two variables, such as x and y.
The function f is plotted over the default domain: -2Ï€ < x < 2Ï€, -2Ï€ < y < 2Ï€.
MATLAB chooses the computational grid according to the amount of variation