@@ -2060,23 +2060,23 @@ def plot2d(self, ax=None, plot_seabed=True,plot_bathymetry=True, plot_boundary=T
20602060 # has routing - first plot rA to sub.coordinate[0] connection
20612061 ax .plot ([sub .rA [0 ],sub .x [0 ]],
20622062 [sub .rA [1 ],sub .y [0 ]],':' ,color = Ccable ,
2063- lw = 1.2 ,label = 'Buried Cable ' + str (cableSize )+ ' mm$^{2}$' )
2063+ lw = 1.2 ,label = 'Static Cable ' + str (cableSize )+ ' mm$^{2}$' )
20642064 # now plot route
20652065 if len (sub .x ) > 1 :
20662066 for i in range (1 ,len (sub .x )):
20672067 ax .plot ([sub .x [i - 1 ],sub .x [i ]],
20682068 [sub .y [i - 1 ],sub .y [i ]],
20692069 ':' , color = Ccable , lw = 1.2 ,
2070- label = 'Buried Cable ' + str (cableSize )+ ' mm$^{2}$' )
2070+ label = 'Static Cable ' + str (cableSize )+ ' mm$^{2}$' )
20712071 # finally plot sub.coordinates[-1] to rB connection
20722072 ax .plot ([sub .x [- 1 ],sub .rB [0 ]],
20732073 [sub .y [- 1 ],sub .rB [1 ]],':' ,color = Ccable ,
2074- lw = 1.2 ,label = 'Buried Cable ' + str (cableSize )+ ' mm$^{2}$' )
2074+ lw = 1.2 ,label = 'Static Cable ' + str (cableSize )+ ' mm$^{2}$' )
20752075 else :
20762076 # if not routing just do simple line plot
20772077 ax .plot ([sub .rA [0 ],sub .rB [0 ]],
20782078 [sub .rA [1 ], sub .rB [1 ]],':' ,color = Ccable , lw = 1.2 ,
2079- label = 'Buried Cable ' + str (cableSize )+ ' mm$^{2}$' )
2079+ label = 'Static Cable ' + str (cableSize )+ ' mm$^{2}$' )
20802080
20812081 # if cable_labels:
20822082 # x = np.mean([sub.rA[0],sub.rB[0]])
@@ -2089,7 +2089,7 @@ def plot2d(self, ax=None, plot_seabed=True,plot_bathymetry=True, plot_boundary=T
20892089 elif isinstance (sub ,DynamicCable ):
20902090 ax .plot ([sub .rA [0 ],sub .rB [0 ]],
20912091 [sub .rA [1 ], sub .rB [1 ]],'--' ,color = Ccable , lw = 1.2 ,
2092- label = 'Cable ' + str (cableSize )+ ' mm$^{2}$' )
2092+ label = 'Dynamic Cable ' + str (cableSize )+ ' mm$^{2}$' )
20932093
20942094 if cable_labels :
20952095 x = np .mean ([sub .rA [0 ],sub .rB [0 ]])
0 commit comments