plot([sin(t),t^3,t=7..22]):
plot(sin,-Pi..Pi):
w:=proc(x) if x<0 then -x elif (x>0) and (x<4) then x else -x+8 end if end proc;
plot(w,-5..6);
plot([[5,5],[6,6],[7,8],[9,20]]);
Oshkormasfunksiyaninggrafigi
Maktab, litseyvakas-hunarkollejlaridaOshkormasfunksiya tenglamakórinishidaberilgan. Oshkormasfunksiyaninggrafiginichizishuchunplotsgrafiklarpaketiningimplicitplotkomandasidanfoydalaniladi:
implicitplot(F(x,y)=0, x=x1..x2, y=y1..y2).
Implicitplot komandasida foydalanib funksiya grafik tasvirlarni hosil qilish. Ushbu misolda va radiusi 1 ga teng aylanani tasvirini hosil qilingan.
>implicitplot( [ x^2+y^2=1, y=exp(x) ], x=-Pi..Pi, y=-Pi..Pi, scaling=CONSTRAINED, color=[blue, red] );
>with(plots):
0>
Do'stlaringiz bilan baham: |