mirror of
https://github.com/pim-n/pg-rad
synced 2026-03-11 19:58:11 +01:00
improve plotting visuals for path
This commit is contained in:
@ -54,7 +54,14 @@ class LandscapeSlicePlotter:
|
|||||||
|
|
||||||
def _draw_path(self, ax, landscape):
|
def _draw_path(self, ax, landscape):
|
||||||
if landscape.path.z <= self.z:
|
if landscape.path.z <= self.z:
|
||||||
ax.plot(landscape.path.x_list, landscape.path.y_list, 'bo-')
|
ax.plot(
|
||||||
|
landscape.path.x_list,
|
||||||
|
landscape.path.y_list,
|
||||||
|
linestyle='-',
|
||||||
|
marker='|',
|
||||||
|
markersize=3,
|
||||||
|
linewidth=1
|
||||||
|
)
|
||||||
else:
|
else:
|
||||||
logger.warning(
|
logger.warning(
|
||||||
"Path is above the slice height z."
|
"Path is above the slice height z."
|
||||||
|
|||||||
Reference in New Issue
Block a user