3D GRAFIKA Základni volby, ovlivňující vzhled 3D grafiky [ Použijeme funkci plot3d a specifikujeme rozsah pro obe proměnné > plot3d(cos(x*y), x=-3..3, y=-3..3); Obecne plot3d(f(x,y), x=a..b, y=c..d, options); nebo plot3d(f, a..b, cd, options); [ Parametry a,b,c,d nemusí byt vždy konstantní: " > plot3d(sqrt(l-x*2-yA2),x=-l..1,y=-l..1); > plot3d(sqrt(l-x*2-yA2),x=-l..l,y=-sqrt(l-x*2)..sqrt(l-xA2! [ Volby (options) muzeme měnit i interaktivně pomoci menu. ~> f:=(x,y)->cos(x*y): ">plot3d(f, -3..3, -3..3, grid=[49,49] , axes=boxed, scaling=constrained, style=patchcontour); [ Se všemi options se muzeme seznámit pomoci [> ?plot3d,options Style: style=displaystyle point - pouze kresli pocitane body line - spojuje tyto body úsečkami hidden - resi i vitelnost, drateny model wireframe - drateny model, neuvazuje se vidtelnost patch - povrch je kreslen barevné nebo v odstínech šedi patchnogrid - povrch, ale nezobrazuje se mrizka contour - pouze vrstevnice patchcontour - povrch i s vrstevnicemi Shading: shading=option z - barevné schema je voleno podle z-tove souřadnice bodu povrchu xy, xyz - kazda z os ma vlastni barevny rozsah Axes: axes=none, normal, boxed, framed Orientation and projection: Uhel pohledu je nastavován parametrem orientation= [theta, fi]. Zvětšováním uhlu theta rotujeme obrázek proti smeru hodinových ručiček. Uhle fi určuje, kde nad (pod) plochou je umisten pozorovací bod. projection=r, kde r je z [0,1], specifikuje vzdálenost pozorovacího bodu od povrchu (0 znamená na povrchu, 1 nekonečne vzdáleny, "normálni" je 1/2). [ > a:=array(1..2,1..2): " > a[l,l]:=plot3d(x^3-3*x*y^2 axes=boxed, orientation=[45,45] " > a[l,2]:=plot3d(x^3-3*x*y^2 axes=boxed, orientation=[5, " > a[2,l]:=plot3d(x^3-3*x*y^2 axes=boxed, orientation=[5, " > a[2,2]:=plot3d(x^3-3*x*y^2 axes=boxed, orientation=[■ > plots[display](a); , x=-l..1, y=-l. .1, style=patch, 5,45] ) : , x=-l..1, y=-l. .1, style=patch, ,45]) : , x=-l..1, y=-l. .1, style=patch, ,80] ) : , x=-l..1, y=-l. .1, style=patch, 60,60] ) : Zmena stylu osbetlovani nebo zmena pozorovacího bodu nezpůsobí prepočítaní grafického objektu, obrázek se pouze znovu prekresli na obrazovku. Toto vsak neplatí pro následující volbu. Grid: V 3D nema Maple zjemnovaci algoritmus. Implicitne se použije mrizka s 25 equidistatnimi body pro oba smery. Toto nastaveni meníme parametrem grid=[m,n], m pro osu x a n pro osu y. [ Pro porovnaní vzhledu a výpočetní náročnosti vyzkoušejte následující posloupnost príkazu: > pp:=(n,m)->plot3d(-y/(l+x^2)/(l+y^2),x=-5..5,y=-3..3,grid=[n,m], style=patch): [ > tO:=time(): r pp(20;20) ; [ > ti: =time () > tl-tO; pp(70;70) ; 0.004 [ > t2:=time(): " > t2-tl; 0.020 [ Následující príkaz muže na pomalejších počítacích trvat prilis dlouho, " > pp(2 0 0,2 0 0) ; [ > t3 : =time () : " > t3-t2; 0.172 View frame: Podobne jako v 2D muzeme omezit pouze vertikálni rozsah nebo rozsahy na vsech osach. Pouziva se dvou forem zápisu, bud view=zmin..zmax nebo view=[xmin..xmax, ymin..ymax, zmin..zmax], "> plot3d(1/(x^2+y^2), x=-l..l, y=-l..1,axes=boxed); 1 1 > plot3d(1/(x^2+y^2), x=-l..l, y=-l..l, view=0..6,axes=boxed); [ Nastaveni voleb globálne (pro celou session) se provede prikážem setoptions3d. | Struktura grafiky v 3D ľ Vytvářeni grafiky v 3D probíhá opět ve dvou fazich (jako v 2D). Nejdříve se počítají funkční hodnoty v referenčních bodech, pak je obrázek vykreslován na obrazovce. 3D graficky objekt v Maplu predstavuje funkce PLOT3D s argumenty popisujícími osy, funkci, spočítaný soradnicemi bodu, parametry mrizky, barvami atd. L Následující objekt popisuje čtyřstěn s vrcholy (1,1,1), (-1,-1,1), (-1,1,-1) a (1,-1,-1). ľ > PLOT3D(POLYGONS([ [1,1,1], [-1,-1,1], [-1,1,-1]], [[1,1,1], [-1,-1,1] , [1,-1,-1]] , [ [-1,1,-1], [1,-1,-1], [-1,-1,1]], [ [-1,1,-1], [1,-1,-1], [1,1,1]]), STYLE(LINE), AXESSTYLE(BOX), ORIENTATION(30,60)); - > P:=plots[polygonplot3d] ([ [ [1,1,1], [-1,-1,1], [-1,1,-1]], [[1,1,1], [-1,-1,1] , [1,-1,-1]] , [ [-1,1,-1], [1,-1,-1], [-1,-1,1]], [ [-1,1,-1], [1,-1,-1], [1,1,1]]], style=line, axes=boxed, orientation=[30,60], color=red); P := PLOT3D(POLYGONS([[l., 1., 1.], [-1, -1, 1.], [-1, 1., -1.]], [[1., 1., 1.], [-1, -1„ 1.], [1., -1., -1.]], [[-1, 1., -1.], [1., -1., -1.], [-1., -1., 1.]], [[-1, 1., -1.], [1., -1., -1.], [1., 1., 1.]]), STYLECLflVE), AXESSTYLE(£ftY), COLOVR(RGB, 1.00000000, 0., 0.), PROJECTION(30., 60., 1)) ľ > P; [ Obecnejší príklad (graf funkce z=x*yA2: "> P:=plot3d(x*y^2, x=-l..l, y=-l..l, grid=[5,5], axes=boxed, orientation=[30,30], style=line, color=black): > lprint(P); PL0T3D(GRID(-1. .. l.,-l. .. 1.,Array(1 .. 5,1 .. 5,{(1, 1) = -1. , (1, 2) = -.250000000000000000, (1, 4) = -.250000000000000000, ( 1, 5) = -1., (2, 1) = -.500000000000000000, (2, 2) = -.1250000000 00000000, (2, 4) = -.125000000000000000, (2, 5) = -.5000000000000 00000, (4, 1) = .500000000000000000, (4, 2) = .125000000000000000 , (4, 4) = .125000000000000000, (4, 5) = .500000000000000000, (5, 1) = 1., (5, 2) = .250000000000000000, (5, 4) = .2500000000000000 00, (5, 5) = 1.},datatype = float[8],storage = rectangular,order = C_order),COLOR(RGB,0.,0.,0.)),ORIENTATION(30.,30.),STYLE(LINE), _AXESSTYLE(BOX),AXESLABELS(x,y,"")) P; Maple spojuje s funkci dvou proměnných na pravoúhle šiti graficky objekt. Tento objekt je pouzivan pro přímkovou interpolaci mezi přilehlými body obrázku. Funkcni hodnoty pro body site jsou pocitany numericky. V 3D neexistuje automatické zjemňováni site. [ Grafy nespojitých funkci > f:=(x^2*y)/(x^2+y^2); x2 y J'~ 2 , 2 > plot3d(f, x=-3..3, y=-3..3, orientation=[-57,38], axes=framed); Bod, ve kterém vyšetrovaná funkce neni spojitá je pri teto hustote site totožný s uzlovým bodem a program v nem nemuze spočítat funkcni hodnotu. [ Zmeníme hustotu uzlových bodu tak, aby bod [0,0] (bod nespoj itosti) nebyl uzlovým bodem. "> plot3d(f, x=-3..3, y=-3..3, orientation=[-57,38], axes=framed, grid=[30,30]); > g:=proc(x,y) if x=0 and y=0 then O else (x^2*y)/(x^2+y^2) fi end: > plot3d(g, -3..3, -3..3, orientation=[-57,38] , axes = framed, labels=[x,y,z]); I Špeciálni obrázky v 3D r > with(plots): Warning, the name changecoords has been redefined [ Krivka dana parametricky: r> spacecurve( [t*cos(2*Pi*t), t*sin(2*Pi*t), 2+t], t=0..10, numpoints=400, orientation=[40,70], style=line, axes=boxed); > spacecurve( {[t*cos(2*Pi*t), t*sin(2*Pi*t), 2+t], [2+t, t*cos(2*Pi*t), t*sin(2*Pi*t)], [t*cos(2*Pi*t), 2+t, t*sin(2*Pi*t)]}, t=0..10, numpoints=400, orientation=[40,70], style=line, axes=boxed); Príkaz pro vykresleni plochy dane parametricky rovnicemi x=f(s,t), y=g(s,t), z=h(s,t) je: plot3d([f(s,t), g(M)? h(s,t)], s=a..b, t=c..d, options); > plot3d([r*cos(phi), r*sin(phi), phi], r=0..1, phi=0..6*Pi, grid=[15,45], style=patch, orientation=[55,70], shading=zhue, axes=boxed); [ Maple podporuje i sférické a cylindrické souřadnice > s:=plot3d(l, theta=0..2*Pi, phi=0..Pi, style=patch, coords=spherical, scaling=constrained): s; > s:=sphereplot(1, theta=0..2*Pi, phi=O..Pi, style=patch, scaling=constrained): s; > c:=plot3d(l/2, theta=0..2*Pi, z=-2..2, style=patch, coords=cylindrical, scaling=constrained): c; > c:=cylinderplot(1/2, theta=0..2*Pi, z=-2 scaling=constrained): c; 2, style=patch, > display3d({s,c}, style=patchcontour, axes=boxed, orientation=[20,70], scaling=constrained); > a:=4.4: [ > g:=t->t*2: [ > h:=sin: > hz:=plot3d([x,u,sin(u)] ,x=-a..a,u=0..a^2,color=CYAN,grid=[4,50] , labels=[x,u,y],axes=fráme): > vt:=plot3d([x,g(x),y],x=-a..a,y=-2..2,grid=[100,4],color=MAGENTA axes=fráme,labels=[x,u,y]): > display3d({hz,vt},orientation=[-32,53]); y o > display3d({hz,vt},orientation=[-32,53],style=hidden); > restart: with(plots): Warning, the name changecoords has been redefined "> f:=(x,y)->x^2-y^2+4; f:=(x,y)^x2-y2 + 4 ' > M:=x*2+yA2=l; M:=x2 +y2 = 1 "> pi:=plot3d(f(x,y), x=-1.2..1.2, y=-l.2..1.2,axes=framed, orientation=[31,56]): > p2:=spacecurve([cos(t), sin(t), f(cos(t),sin(t))], t=0..2*Pi, color=black, thickness=3, orientation=[31,56]): > display3d({pl,p2}, labels=[x,y,z]); > p4:=spacecurve([cos(t), sin(t), f(cos(t),sin(t))+0.01], t=0..2*Pi, color=black, thickness=3, orientation=[31,56]): > display3d({pl,p4}, labels=[x,y,z]); Vrstevnice príkaz contourplot, počet vrstevnic se nastavuje volbou contours, implicitní nastaveni je 20. " > U:=log(sqrt((x+1)^2+y^2)) + log(sqrt((x-1)^2+y^2)) + log(sqrt((y+1)^2+x^2)) + log(sqrt((y-1)^2+x^2)): "> contourplot(U, x=-3/2..3/2, y=-3/2..3/2, contours=30, numpoints=500, color=black); > contourplot(U, numpoints=500, x=-3/2..3/2, color=black, y=-3/2..3/2, grid=[50,50] contours=30, > densityplot(U, axes=boxed); x=-3/2..3/2, y=-3/2..3/2, numpoints=500, - 1.5 " - - I ■ - - 0 5 - 0 ■ ■ " - - 0.5 - - _1 ■ - 1.5 - -1.5 -1 -0.5 0 x 0.5 1.5 [ Implicitní funkce > implicitplot3d( x^3 + +Z+1)*3,x=-2..2,y=-2. y 3 + z 3 + 1 = 2,z=-2..2,grid= (x + y [13,13,13] Mnohostěny - príkaz polyhedraplot (čtyřstěn - tetrahedron, osmistěn - octahedron > polyhedraplot([0,0,0], polytype=octahedron, scaling=constrained, orientation=[71,66]); style=patch, [ > ?polyhedraplot > polyhedra_supported(); {DecagonalPrism, sphenocorona, ElongatedSquarePyranúd, SnubDisphenoid, SquarePyramid, TriangularOrthobicupola,ElongatedSquareCupola,AugmentedDodecahedron, AugmentedHexagonalPrism,PentagonalGyrobicupola,PentagonalOrthobicupola, hebesphenomegacorona, AugmentedSphenocorona, PentagonalPrism, AugmentedTruncatedCube, tetrahedron, octahedron, hexahedron, icosahedron, SmallStellatedDodecahedron, GreatStellatedDodecahedron, Trapezoidallcositetrahedron, Pentagonallcositetrahedron, TrapezoidalHexecontahedron,PentagonalHexecontahedron, ElongatedTriangularPyramid,ElongatedPentagonalPyramid, GyroelongatedSquarePyramid, ElongatedSquareDipyramid,ElongatedTriangularCupola,ElongatedPentagonalCupola, ElongatedPentagonalRotunds, GyroelongatedSquareCupola,PentagonalGyrocupolarotunda, PentagonalOrthobirotunda,ElongatedSquareGyrobicupola, GyroelongatedSquareBicupola, AugmentedTriangularPrisnt,BiaugmentedTriangularPrism, TriaugmentedTriangularPrism, AugmentedPentagonalPrisnt,BiaugmentedPentagonalPrism, TriaugmentedHexagonalPrism, ParabiaugmentedDodecahedron, MetabiaugmentedDodecahedron, TriaugmentedDodecahedron, Metabidiminishedlcosahedron, Tridiminishedlcosahedron, BiaugmentedTruncatedCube, TriangularHebesphenorotunda, TriangularPrism, Greatlcosahedron, GreatDodecahedron, PentagonalCupola, TriangularCupola, PentagonalPyramid, Hexakislcosahedron, Triakislcosahedron, HexakisOctahedron, TetrakisHexahedron, TriakisOctahedron, RhombicDodecahedron, DecagonalAntiprism, OctagonalAntiprism, HexagonalAntiprism, PentagonalAntiprism, SnubSquareAntiprism, SquareGyrobicupola, SquareOrthobicupola, PentagonalDipyramid, TriangularDipyramid, PentagonalRotunda, octahemioctahedron, tetrahemihexahedron, disphenocingulum, sphenomegacorona, Rhombic Triacontahedron, GyroelongatedPentagonalPyramid, ElongatedPentagonalDipyramid,ElongatedTriangularDipyramid,SquareCupola, echidnahedron, HexagonalPrism, dodecahedron, PentakisDodecahedron, GyroelongatedSquareDipyramid, GyroelongatedTriangularCupola, GyroelongatedPentagonalCupola, GyroelongatedPentagonalRotunda, PentagonalOrthocupolarontunda,ElongatedTriangularOrthobicupola, ElongatedTriangularGyrobicupola,ElongatedPentagonalOrthobicupola, ElongatedPentagonalGyrobicupola,ElongatedPentagonalOrthocupolarotunda, ElongatedPentagonalOrthobirotunda,ElongatedPentagonalGyrobirotunda, GyroelongatedTriangularBicupola, GyroelongatedPentagonalBicupola, GyroelongatedPentagonalCupolarotunda, GyroelongatedPentagonalBirotunda, ParabiaugmentedHexagonalPrism,MetabiaugmentedHexagonalPrism, AugmentedTruncatedTetrahedron,AugmentedTruncatedDodecahedron, ParabiaugmentedTruncatedDodecahedron,MetabiaugmentedTruncatedDodecahedron, TriaugmentedTruncatedDodecahedron, GyrateRhombicosidodecahedron, ParabigyrateRhombicosidodecahedron,MetabigyrateRhombicosidodecahedron, TrigyrateRhombicosidodecahedron,DiminishedRhombicosidodecahedron, ParagyrateDiminishedRhombicosidodecahedron, MetagyrateDiminishedRhombicosidodecahedron, BigyrateDiminishedRhombicosidodecahedron,ParabidiminishedRhombicosidodecahedron, MetabidiminishedRhombicosidodecahedron, GyrateBidiminishedRhombicosidodecahedron, TridiminishedRhombicosidodecahedron, SquareAntiprism, OctagonalPrism, bilunabirotunda} Animace K vytvářeni animaci pouzivame príkazu animate (animate3d) nebo príkazu display s volbou insequence=true. Použiti display j e obecnej si a poskytuje vice možnosti. > restart,-with(plots) : Warning, the name changecoords has been redefined "> animate( sin(x*t),x=-10..10,t=l..2,frames=50, numpoints=100); > animatecurve(sin(2*Pi*x), x=0..1, color=black); 0.5 0" 0.2 0.4 0.6 0.8 1 -0.5 -1 > animate3d(cos(t*x)*sin(t*y),x=-Pi..Pi, y=-Pi..Pi,t=l..2); [> al:=plot(sin(x), x=-Pi..Pi, axes=normal): [> a2:=plot(2*sin(x), x=-Pi..Pi, axes=normal): [> a3:=plot(3*sin(x), x=-Pi..Pi, axes=normal): > display({al,a2,a3},insequence=true); [> a:=k->plot(k*sin(x), x=-Pi..Pi, axes=normal): "> display([seq(a(k), k=-3..3)], insequence=true); Príkaz seq slouzi ke generováni posloupnosti podle zadaného pravidla, syntaxe: seq(vyraz v proměnné k, k=rozsah) > restart: with(plots):setoptions(scaling=constrained,axes=none): A:=animate([sin(t)+3*k,cos(t)+k^2/4,t=0..2*Pi],k=-5..5,color=blu e,thickness=2): B:=plot([3*t,t^2/4-1.3,t=-5.5..5.5],color=black,thickness=2): display([A,B]); Warning, the name changecoords has been redefined > restart: with(plots):setoptions(scaling=constrained,axes=none): al:=k->plot([sin(t)+3*(5-k),cos(t)+(5-k)^2/4,t=0..2*Pi],color=gr een,thickness=2): a2:=k->plot([sin(t)-3*(15-k),cos(t)+(15-k)^2/4,t=0..2*Pi],color= green,thickness=2): a:=proc(k) : if kplot([3*t,t^2/4-1.3,t=-5.5..5.5],color=black,thickness=2): display([seq(display({a(k),b(k)}),k=l..20)],insequence=true); Warning, the name changecoords has been redefined Slozitejsi ukázka animace > restart: with(plots): body := [[1,1,1], [-1,1,1], [-1,-1,1], [1,-1,1]], [[1,1,-1], [-1,1,-1], [ ,-1,-1] , [1,-1,-1]] , [[1,1,1], [1,-1,1], [1,-1,-1], [1,1,-1]], [[-1,1,1], [-1,-1,1], [ ,-1,-1] , [-1,1,-1]] : tail:=[ [-l,-.5,.5], [-4,-.8, .8], [-4, .8, .8], [-1,.5,.5]], [[-1, 5,-.5], [-4,-.8,-.8], [-4,.8,-.8], [-l,.5,-.5]] : Iwing01:=[[-1,1,1] , [1,1,1], [.5,6,4], [-1,6,4]], [[-1,1,-1], [1,1 ,-1] , [.5,6,3.5] , [-1,6,3.5]] , [[.5,6,3.5], [-1,6,3.5], [-.4,11,3], [-.4,11,3]], [[.5,6,4], [-1,6 ,4] , [-.4,11,3] , [-.4,11,3]] : lwing02:=[ [-1,1,1] , [1,1,1], [.5,6,-2], [-1,6,-2]], [[-1,1,-1], [1 ,1,-1] , [.5,6,-2.5] , [-1,6,-2.5]] , [[.5,6,-2.5], [-1,6,-2.5], [-.4,11,-5], [-.4,11,-5]], [[.5,6,-2], [-1,6,-2], [-.4,11,-5], [-.4,11,-5]]: rwing01:=[[-1,-1,1] , [1,-1,1], [.5,-6,4], [-1,-6,4]], [[-1,-1,-1] , [1,-1,-1], [.5,-6,3.5], [-1,-6,3.5]], [[.5,-6,3.5], [-1,-6,3.5], [-.4,-11,3], [-.4,-11,3]], [[.5,-6,4], [-1,-6,4], [-.4,-11,3], [-.4,-11,3]]: rwing02:=[[-1,-1,1] , [1,-1,1], [.5,-6,-2], [-1,-6,-2]], [[-1,-1,-1], [1,-1,-1], [.5,-6,-2.5], [-1,-6,-2.5]], [[.5,-6,-2.5], [-1,-6,-2.5], [-.4,-11,-5], [-.4,-11,-5]], [[.5,-6 ,-2], [-1,-6,-2], [-.4,-11,-5], [-.4,-11,-5]] : head:=[[l, .5,1], [1,-.5,1], [2,-.3,1.5], [2, .3,1.5]], [[1,.5,0], [ l,-.5,0] , [2,-.3,1] , [2, .3,1]] , [[2,-.3,1] , [2, .3,1] , [3,0,1] , [3,0,1]] , [ [2 , - . 3 , 1 . 5] , [2, .3,1.5] , [3,0,1] , [3,0,1]] : birdOl:=[body,tail,lwingOl,rwingOl, head]: bird02:=[body,tail,lwing02,rwing02, head]: polygonplot3d(birdOl, axes = boxed, labels = [x,y,z], scaling=constrained); polygonplot3d(bird02, axes = boxed, labels = [x,y,z], scaling=constrained); morph3d:=proc(first,last,t) local k,j; [seq( [seq( [ (1-t) *op(l,op(j ,op(k, first) ) ) + t*op(l,op(j ,op(k, last) ) ) , (l-t)*op(2, op(j,op(k, first) ) ) + t*op(2,op(j,op(k,last) ) ) , (1-t)* op(3,op(j ,op(k, first) ) ) + t*op(3,op(j,op(k,last)))],j=1..4)], k=l..nops(first))]: end: Warning, the name changecoords has been redefined > a:=seq(polygonplot3d([morph3d(birdOl,bird02,t/5)], scaling = constrained),t=0..5): b:=seq(polygonplot3d([morph3d(bird02,birdOl,t/5)], scaling = constrained),t=0..5): display3d([a,b], insequence=true); #try this with the loop button on Plottools [ > restart; > with(plottools); [arc, arrow, circle, cone, cuboid, curve, cutin, cutout, cylinder, disk, dodecahedron, ellipse, ellipticArc, hemisphere, hexahedron, homothety, hyperbola, icosahedron, line, octahedron, parallelepiped, pieslice, point, polygon, project, rectangle, reflect, rotate, scale, semitorus, sphere, stellate, tetrahedron, torus, transform, translate, vrml] > with(plots): Warning, the name changecoords has been redefined Warning, the previous binding of the name arrow has been removed and it now has an assigned value L [> si:=sphere([3/2,1/4,1/2], 1/4, color=red): "> display(sl, scaling=constrained); [> s2:=sphere([3/2,-1/4,1/2], 1/4, color=red): "> display([si,s2], axes=normal, scaling=constrained); [> c:=cone([O,O,2], 1/2, 2, color=khaki; > display(c, axes=normal); [> c2:=rotate(c, O, Pi/2,0): > display(c2, axes=normal); [> c3:=translate(c2, 3,0,1/4; > display(c3, axes=normal); [> cup: =hemisphere {] > display(cup); [ > cap:=rotate(cup, Pi, 0, 0): > display(cap); I Geometrie v 2D r > with(geometry): Warning, these names have been rebound: circle, ellipse, homothety, hyperbola, line, point [ > [ > point(A,0,0) ,point (B,2,0) ,point(C,1,3) : r> triangle(Tl,[A,B,C]); [ Tl r > incircle(inc,Tl,'centername'=o); L ine > detail(ine); assume that the names of the horizontal and vertical axes are _x and _y, respectively name of the object: inc form of the object: circle2d name of the center: o coordinates of the center: [1, 3/(10A(l/2)+l)J radius of the circle: 3/(10A(l/2)+l) equation of the circle: l+_xA2+_yA2-2*_x-6*_y/(10A(l/2)+l) = 0 > draw([Tl, inc,o]); Prezentace na webu pomoci Java View > with(JavaViewLib); Error, invalid input: with expects its 1st argument, pname, to be of type {package, module}, but received JavaViewLib > runJavaView(); Lauching "/usr/local/maple95/jre.IBM_INTEL_LINUX/bin/java -classpath /homezam/plch/ maple/JavaViewLib/jars/javaview.jar:/home_zam/plch/maple/JavaViewLib/jars/jvx.jar:/home zam/plch/maple/Java ViewLib/jars/vgpapp.jar javaview " [> objekt:=plot3d(sin(x)*cos(y), x=-3..3, y=-3..3): > runJavaView(objekt); /homezam/plch/maple/Java ViewLib/mpl/JVLExport. mpl [ > set(BR="FF"); [ > runApplet(objekt): [ >