3D Graph (c) Eldar Eran 1996 (t3@netvision.net.il) --------------------------------------------------------------- I'll gest well start with the 3D graphic for now. for the 3d graphic I use 3 programs : P7,P8,P9. P7 holds the equsion you whant to draw. P8 the program itself. P9 if you like it give's you more inhens 3D garphing. I develop this programs on CFX-9800G but you can run it on outher computers whithout using color. SQRT is the sign squrt. != meen the sign not Equal. <= Smaller or equal sign. P7: half a ball. the original eqution was Z^2+Y^2+X^2=1 ... you need to isolate Z. SQRT(1-Y^2-X^2)->Z P8: "3D Graph" 30->O you can change 30 to what ever angle you whant. (Ymax-Ymin)/10->C (Xmax-Xmin)/94->D Plot Ymin(cos O),Ymin(sin O) Plot Ymax(cos O),Ymax(sin O) Green Line Ymin->Y Lbl 1 0->F Xmin->X Lbl 0 Prog 7 ImP Z!=0=>Goto 3 X->A Y->B Plot X+Ycos O,Z+Ysin O F=0=>Goto 2 Line Lbl 2 1->F B->Y A->X Lbl 3 X+D->X X<=Xmax=>Goto 0 Ymin->X Y+C->Y Y<=Ymax=>Goto 1 Prog 9 this line and P9 are optional. (personaly I like using P9) P9: "Net" (Xmax-Xmin)/94*5->D (Ymax-Ymin)/10->C Ymin+C->Y Lbl 1 Xmin->X Lbl 0 Y-C->Y Prog 7 Z->W Y+C->Y Prog 7 ImP Z!=0=>Goto 2 Imp W!=0=>Goto 2 X->A Y->B Plot X+Ycos O,Z+Ysin O A->X B->Y Plot X+(Y-C)cos O,W+(Y-C)sin O A->X B->Y Orange Line Lbl 2 X+D->X X<=Xmax=>Goto 0 Y+C->Y Y<=Ymax=> Goto 1 well.. I gest this is it only some notes for the equasion that I've put in P7 it is recomde to work with this range:-2.35,2.35,1,-1.55,1.55,1 becouse I put 30 as an Angle you should work with DEG and not RAD. enjoy the program thell me if you have any problems. Eldar Eran t3@netvision.net.il