File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -734,16 +734,15 @@ def plot_mission(results,line_style='bo-'):
734734 altitude = segment .conditions .freestream .altitude [:,0 ] / Units .ft
735735 mdot = segment .conditions .weights .vehicle_mass_rate [:,0 ]
736736 thrust = segment .conditions .frames .body .thrust_force_vector [:,0 ]
737- sfc2 = (mdot / Units .lb ) / (thrust / Units .lbf ) * Units .hr
737+ sfc = (mdot / Units .lb ) / (thrust / Units .lbf ) * Units .hr
738738
739739 axes = fig .add_subplot (3 ,1 ,1 )
740740 axes .plot ( time , altitude , line_style )
741741 axes .set_ylabel ('Altitude (ft)' ,axis_font )
742742 axes .grid (True )
743743
744744 axes = fig .add_subplot (3 ,1 ,3 )
745- axes .plot ( time , sfc1 , line_style )
746- axes .plot ( time , sfc2 , 'ro-' )
745+ axes .plot ( time , sfc , line_style )
747746 axes .set_xlabel ('Time (min)' ,axis_font )
748747 axes .set_ylabel ('sfc (lb/lbf-hr)' ,axis_font )
749748 axes .grid (True )
You can’t perform that action at this time.
0 commit comments