X-Git-Url: https://melusine.eu.org/syracuse/G/git/?p=geshi.git;a=blobdiff_plain;f=texgraph%2Fplans.teg;fp=texgraph%2Fplans.teg;h=d673bc840b55e71e88b99015baa0999f3e979ac4;hp=0000000000000000000000000000000000000000;hb=0ca620520294008bfac39c3182184be384551bb6;hpb=bf47e8ea7d24bd79d5bd3d371fc2a07069e9f890 diff --git a/texgraph/plans.teg b/texgraph/plans.teg new file mode 100644 index 0000000..d673bc8 --- /dev/null +++ b/texgraph/plans.teg @@ -0,0 +1,25 @@ +TeXgraph# +Cmd + view(-6,6,-6,6); + Marges(0,0,0,0); + size(10); + [theta:=-10*deg, phi:=60*deg, ModelView(central), DistCam(20)]; +Graph objet1 = [ + background(full, gray), + P1 :=planEqn([1, 1, 1, 2]), P2 :=[Origin, vecK-vecJ], + D := interPP(P1, P2), + a :=Copy(getdroite(D), 1, 2), + b :=Copy(getplan(P1, 0.75), 11, 2), + c :=Copy(getplan(P2, 0.75), 3, 2), + Build3D( + bdPlan(P1, [color :=red, opacity :=0.7, scale :=0.75 ]), + bdPlan(P2, [color :=blue, opacity :=0.7, scale :=0.75]), + bdDroite(D, [color :=darkgreen, width :=12]), + bdAxes([0, 0], [color :=gold, width :=8, arrows :=1]), + bdLabel(a, "$D$", [labelpos :=[0.5, -i]]), + bdLabel(b, "$P_1$", [labelpos :=[0.5, i]]), + bdLabel(c, "$P_2$", [labelpos :=[0.5, i]]) + ), + Display3D() + ]; +