|
> plot3d([sin(x*y), x + 2*y], x=-0.5*Pi..0.5*Pi, y=-Pi..Pi, color=[blue,green])
|
bet | 73/78 | Sana | 22.07.2021 | Hajmi | 7,05 Mb. | | #15506 |
> plot3d([sin(x*y), x + 2*y], x=-0.5*Pi..0.5*Pi, y=-Pi..Pi, color=[blue,green]);
Misol:
>with(plots):
with(LinearAlgebra):
A:= HilbertMatrix(8): B:= ToeplitzMatrix([1,2,3,4,-4,-3,-2,-1], symmetric):
matrixplot(A);
matrixplot(A &* B);
matrixplot(A+B, heights=histogram, axes=boxed);
matrixplot(A+B, heights=histogram, axes=frame, gap=0.25, style=patch);
F := (x,y) -> sin(x*y):
matrixplot(A+B, heights=histogram, axes=frame, gap=0.25, style=patch, color=F);
L:=HilbertMatrix(4,5);
matrixplot(L);
oshkormas tenglama ko`rinishida berilgan funksiyalar uch o`lchovli sirt grafigi plot komandalar paketi yordam ida kuriladi: implicitplot3d(F(x,y,z)=c, x=x1..x2, y=y1..y2, z=z1..z2), bunda sirt tenglamasi va koordinata uklari buyicha chizma ulchami ko`rsatiladi.
Misol:
>with(plots):
implicitplot3d(x^3+y^3+z^3+1=(x+y+z+1)^3, x=-2..2, y=-2..2, z=-2..2, grid=[13,13,13]);
parametrik ko`rinishdagi fazoviy chiziqlarni qurish uchun plot paketining spacecurve komandasi yordam beradi. Komandalar parametri:
> spacecurve([x(t),y(t),z(t)],t=t1..t2), bunda t o`zgaruvchi t1 dan t2 gacha o`zgaradi.
Misollar:
|
| |