Skip to content

Commit

Permalink
fix: adding fold example back in
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlangrose committed Jun 4, 2024
1 parent 53bd28b commit 86d3377
Showing 1 changed file with 9 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,9 @@
# 'box',
# paint_with=stratigraphy,
# cmap='prism')
viewer.add_data(stratigraphy)
viewer.add_isosurface(
stratigraphy,
)
viewer.rotate([-85.18760681152344, 42.93233871459961, 0.8641873002052307])
viewer.display()
viewer.plot_data(stratigraphy, scale=200)
viewer.plot_surface(stratigraphy, value=10)
viewer.show()


######################################################################
Expand Down Expand Up @@ -216,21 +213,21 @@
# 'box',
# paint_with=stratigraphy,
# cmap='prism')
viewer.add_isosurface(
viewer.plot_surface(
fold_frame[0],
value=10,
colour="blue",
# isovalue=0.4,
alpha=0.5,
opacity=0.5,
)
viewer.add_data(stratigraphy)
viewer.plot_data(stratigraphy, scale=200)
# viewer.add_isosurface(fold_frame[1],colour='green',alpha=0.5)
# viewer.add_vector_field(fold_frame[0],locations=fold_frame[0].get_interpolator().support.barycentre)
# viewer.add_data(fold_frame[1])

# viewer.add_data(stratigraphy)
viewer.add_isosurface(stratigraphy)
viewer.rotate([-85.18760681152344, 42.93233871459961, 0.8641873002052307])
viewer.display()
viewer.plot_surface(stratigraphy, value=10)
viewer.show()

###########################################
# Plotting the fold rotation angles
Expand Down

0 comments on commit 86d3377

Please sign in to comment.