Maple tizimidagi grafik muhit va undan
Download 0.82 Mb.
|
Maple tizimidagi grafik muhit va undan foydalanish
- Bu sahifa navigatsiya:
- >i m plicitplot( [ x^2+y^2=1, y=exp(x) ] , x =- Pi . .Pi, y= - Pi..Pi, scaling=CONSTRAINED, color=[blue, red] ); >
- -y-1 end if end proc: i mplicitp l ot(p, -2..2, -1..3);
animatecurve( {x-x^3,sin(x)}, x=0..Pi/2 );
Ushbu misollarda vektorlarning Maple 9.5 dagi grafik tasvirlari keltirilgan >with(plots): b1 := arrow(<1,2,3>, <3,-4,5>, width=[0.2, relative], head_length=[0.4, relative], color=red): b2 := arrow(<1,2,3>, <3,-4,5>, difference, color=blue): b3 := arrow(<1,2,3>, <-3,4,-5>, width = 0.2, head_length=0.4, color=green): display(b1, b2, b3, scaling=CONSTRAINED, axes=FRAMED, lightmodel=light3); >with(plots): c1 := arrow(<1,1,1>, shape=cylindrical_arrow, fringe): c2 := arrow(<0,0,1>, shape=cylindrical_arrow, fringe = 'red'): c3 := arrow(<0,1,0>, shape=cylindrical_arrow, fringe = 'COLOR(RGB, 0.6, 0.1, 0.7)'): display(c1, c2, c3, scaling=CONSTRAINED, axes=FRAMED); 80
>with(plots): conformal(z^3, z=-1-I..1+I); Shartlar yordamida funksiya grafiklarni hosil qilish. > plot(sin(x),x=-Pi..Pi,y=-1..1): 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]]); 81
Oshkormas funksiyaning grafigi Maktab, litsey va kas-hunar kollejlarida Oshkormas funksiya Fx,y0 tenglama ko`rinishida berilgan. Oshkormas funksiyaning grafigini chizish uchun plots grafiklar paketining implicitplot komandasidan foydalaniladi: implicitplot(F(x,y)=0, x=x1..x2, y=y1..y2). Implicitplot komandasida foydalanib funksiya grafik tasvirlarni hosil qilish. Ushbu misolda y ex 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): implicitplot(x^2+y^2=1, x=-1..1, y=-1..1): p:= proc(x,y) if x 82
Rasmli tekstlarga izox yozish uchun plots paketining textplot komandasi imkoniyatga ega bo`ladi: textplot([xo,yo,’text’], options), bunda xo, yo - koordinatalardagi nuqtalar, tekst yozuvi qandaydir ’text’ bilan boshlanadi. Ba’zan tez-tez bir rasmga bir qancha grafikli obyektlarni birga qo`yishga to`g`ri keladi, bu bir necha komanda yordamida hosil qilinadi, masalan, grafikni Qo`shimcha qilish uchun plot komandasi tasvirlaydi, tekstni yozishni textplot komandasi amalga oshiradi. > p:=plot(…): t:=textplot(…): Bunday holatda ekranga natija chiqmaydi. Grafik tasvirini ekranga chiqarishni bajarilishi uchun plots komanda paketi bajarilishi zarur: > with(plots): display([p,t], options). Misol: 0> Download 0.82 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling