File tree Expand file tree Collapse file tree 5 files changed +35
-13
lines changed Expand file tree Collapse file tree 5 files changed +35
-13
lines changed Original file line number Diff line number Diff line change 1- ''' 
2- Demonstrates using ax.plot's zdir keyword to plot 2D scatterplot data on 
1+ """ 
2+ ======================= 
3+ Plot 2D data on 3D plot 
4+ ======================= 
5+ 
6+ Demonstrates using ax.plot's zdir keyword to plot 2D data on 
37selective axes of a 3D plot. 
4- ''' 
8+ """ 
59
610from  mpl_toolkits .mplot3d  import  Axes3D 
711import  numpy  as  np 
Original file line number Diff line number Diff line change 1- ''' 
1+ """ 
2+ ======================================== 
3+ Create 2D bar graphs in different planes 
4+ ======================================== 
5+ 
26Demonstrates making a 3D plot which has 2D bar graphs projected onto 
37planes y=0, y=1, etc. 
4- ''' 
8+ """ 
59
610from  mpl_toolkits .mplot3d  import  Axes3D 
711import  matplotlib .pyplot  as  plt 
Original file line number Diff line number Diff line change 1- ''' 
1+ """ 
2+ ============================== 
3+ Create 3D histogram of 2D data 
4+ ============================== 
5+ 
26Demo of a histogram for 2 dimensional data as a bar graph in 3D. 
3- ''' 
7+ """ 
48
59from  mpl_toolkits .mplot3d  import  Axes3D 
610import  matplotlib .pyplot  as  plt 
Original file line number Diff line number Diff line change 1- ''' 
1+ """ 
2+ ============================ 
3+ Draw flat objects in 3D plot 
4+ ============================ 
5+ 
26Demonstrate using pathpatch_2d_to_3d to 'draw' shapes and text on a 3D plot. 
3- ''' 
7+ """ 
48
9+ import  numpy  as  np 
510import  matplotlib .pyplot  as  plt 
611from  matplotlib .patches  import  Circle , PathPatch 
712# register Axes3D class with matplotlib by importing Axes3D 
Original file line number Diff line number Diff line change 1- ''' 
2- Demonstrate how to create semi-transparent polygons which fill the space 
3- under a line graph, creating a sort of 'jagged stained glass' effect. 
4- ''' 
1+ """ 
2+ ============================================= 
3+ Generate polygons to fill under 3D line graph 
4+ ============================================= 
5+ 
6+ Demonstrate how to create polygons which fill the space under a line  
7+ graph. In this example polygons are semi-transparent, creating a sort 
8+ of 'jagged stained glass' effect. 
9+ """ 
510
611from  mpl_toolkits .mplot3d  import  Axes3D 
712from  matplotlib .collections  import  PolyCollection 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments