@@ -2277,23 +2277,23 @@ def plot2d(self, ax=None, plot_seabed=True,plot_bathymetry=True, plot_boundary=T
22772277 # has routing - first plot rA to sub.coordinate[0] connection
22782278 ax .plot ([sub .rA [0 ],sub .x [0 ]],
22792279 [sub .rA [1 ],sub .y [0 ]],':' ,color = Ccable ,
2280- lw = 1.2 ,label = 'Buried Cable ' + str (cableSize )+ ' mm$^{2}$' )
2280+ lw = 1.2 ,label = 'Static Cable ' + str (cableSize )+ ' mm$^{2}$' )
22812281 # now plot route
22822282 if len (sub .x ) > 1 :
22832283 for i in range (1 ,len (sub .x )):
22842284 ax .plot ([sub .x [i - 1 ],sub .x [i ]],
22852285 [sub .y [i - 1 ],sub .y [i ]],
22862286 ':' , color = Ccable , lw = 1.2 ,
2287- label = 'Buried Cable ' + str (cableSize )+ ' mm$^{2}$' )
2287+ label = 'Static Cable ' + str (cableSize )+ ' mm$^{2}$' )
22882288 # finally plot sub.coordinates[-1] to rB connection
22892289 ax .plot ([sub .x [- 1 ],sub .rB [0 ]],
22902290 [sub .y [- 1 ],sub .rB [1 ]],':' ,color = Ccable ,
2291- lw = 1.2 ,label = 'Buried Cable ' + str (cableSize )+ ' mm$^{2}$' )
2291+ lw = 1.2 ,label = 'Static Cable ' + str (cableSize )+ ' mm$^{2}$' )
22922292 else :
22932293 # if not routing just do simple line plot
22942294 ax .plot ([sub .rA [0 ],sub .rB [0 ]],
22952295 [sub .rA [1 ], sub .rB [1 ]],':' ,color = Ccable , lw = 1.2 ,
2296- label = 'Buried Cable ' + str (cableSize )+ ' mm$^{2}$' )
2296+ label = 'Static Cable ' + str (cableSize )+ ' mm$^{2}$' )
22972297
22982298 # if cable_labels:
22992299 # x = np.mean([sub.rA[0],sub.rB[0]])
@@ -2306,7 +2306,7 @@ def plot2d(self, ax=None, plot_seabed=True,plot_bathymetry=True, plot_boundary=T
23062306 elif isinstance (sub ,DynamicCable ):
23072307 ax .plot ([sub .rA [0 ],sub .rB [0 ]],
23082308 [sub .rA [1 ], sub .rB [1 ]],'--' ,color = Ccable , lw = 1.2 ,
2309- label = 'Cable ' + str (cableSize )+ ' mm$^{2}$' )
2309+ label = 'Dynamic Cable ' + str (cableSize )+ ' mm$^{2}$' )
23102310
23112311 if cable_labels :
23122312 x = np .mean ([sub .rA [0 ],sub .rB [0 ]])
0 commit comments