-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSTART.py
More file actions
33 lines (24 loc) · 759 Bytes
/
START.py
File metadata and controls
33 lines (24 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import os
import numpy as np
import SO_for_SAT
import makeplots
path = os.path.abspath(os.getcwd())
path = os.path.join(path,'output','output_python','SAT')
path = os.path.join(path,"2023-07_IEEE_figures")
import matplotlib.pyplot as plt
plt.style.use('ieee_conf.mplstyle')
def main():
if not os.path.exists(path):
os.makedirs(path,exist_ok=True)
PO = SO_for_SAT.plotOptions()
PO.colWidth = 3.487
PO.pageWidth = 7.140
PO.factr = [1.618,1.5][0]
PO.path = path
PO.plot6 = True
PO.saveFigures = False
makeplots.twoProblems(PO) # Fig 1, Fig 2
makeplots.oneBigPlot(PO) # Fig 3
makeplots.extraPlot(PO) # Fig 4 Extra for weighted by borders
if __name__ == '__main__':
main()