Skip to content
Snippets Groups Projects
Commit 9fa43a68 authored by Thom Badings's avatar Thom Badings
Browse files

Separate branch for creating some manual 3D UAV figures

parent b5c74062
No related branches found
No related tags found
No related merge requests found
......@@ -133,6 +133,8 @@ if ScAb.setup.main['newRun'] is True:
# Create directories
createDirectory(ScAb.setup.directories['outputF'])
assert False
# Create actions and determine which ones are enabled
ScAb.defActions()
......
......@@ -727,7 +727,7 @@ def UAVplot2D(i_show, i_hide, setup, model, abstr, traces, cut_value,
plt.show()
def UAVplot3d_visvis(setup, model, abstr, traces, cut_value):
def UAVplot3d_visvis(setup, model, abstr, traces, cut_value, view='3D'):
'''
Create 3D trajectory plots for the 3D UAV benchmark
......@@ -848,12 +848,15 @@ def UAVplot3d_visvis(setup, model, abstr, traces, cut_value):
vv.axis('tight', axes=ax)
fig.position.w = 700
fig.position.h = 600
fig.position.w = 1400
fig.position.h = 2000
im = vv.getframe(vv.gcf())
ax.SetView({'zoom':0.042, 'elevation':25, 'azimuth':-35})
if view == '3D':
ax.SetView({'zoom':0.042, 'elevation':25, 'azimuth':-35})
elif view == 'topdown':
ax.SetView({'zoom':0.042, 'elevation':90, 'azimuth':0})
if 'outputFcase' in setup.directories:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment