Untitled

509 days ago by pub

Wikipages: Points Points3d Lines Lines3d Arrows Arrows3d

Think: You do not need to use "3d". It determines the plot according to the number of coordinates in the points.

point((1,2),size=30, figsize=3) 
       

                                
                            

                                
point((1,2),color="red", size=40, alpha=0.5, faceted="true", xmin=-0.5, xmax=3, ymin=-0.5, ymax=3, figsize=4) 
       

                                
                            

                                
P1=point((0, 0), size=40) L1=line( [ (0, 0), (2, 1) ], color="red", thickness=2 ) L2=line( [ (-1, -2), (1, 2) ], color="purple", thickness=2, linestyle="-.") PL1=line( [ (3, -2), (0, 0), (3, 2) ], thickness=2, alpha=0.5 ) show(P1+L1+L2+PL1, figsize=4) 
       

                                
                            

                                
P1=point((0, 0, 0), size=20) L1=line( [ (0, 0, 0), (2, 1, 0) ], color="red", thickness=5 ) L2=line( [ (-1, -2, -1), (1, 2, 1) ], color="purple", thickness=5, linestyle="--", arrow_head="true" ) PL1=line( [ (3, -2, -1), (0, 0, 0), (3, 2, -1) ], thickness=5, opacity=0.5 ) show(P1+L1+L2+PL1, figsize=4)