-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a6f9b18
commit 982c5c1
Showing
2 changed files
with
53 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
from apsg import * | ||
|
||
|
||
def plot_stereonet(plane_data, line_data): | ||
|
||
s = StereoNet() | ||
|
||
if plane_data is not None: | ||
for plane in plane_data: | ||
p = Fol(*plane) | ||
s.plane(p) | ||
|
||
if line_data is not None: | ||
for line_rec in line_data: | ||
l = Lin(*line_rec) | ||
s.line(l) | ||
|
||
s.show() |