Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
background.py
Go to the documentation of this file.
2import subprocess
3
4xCells = 666
5yCells = 583
6
7xStep = 50
8yStep = 50
9
10xList = range(xStep, xCells+1, xStep)
11yList = range(yStep, yCells+1, yStep)
12
13dotsFile = "ACB_background_dots_50_2664x2332.png"
14outputLocation = "/home/kempf/Servers/stornext_vlasiator/visualizations/ACB/mosaics_tmp3/"
15fileName = "ACB_background_rho_dotted_50_2664x2332_"
16
17timeList = range(573,574)
18for time in timeList:
19 number=str(time).rjust(7, '0')
20 fileLocation = "voima:/lustre/tmp/alfthan/2D/ACB_yk/bulk."+number+".vlsv"
21
22 OpenDatabase(fileLocation, 0)
23
24 AddPlot("Pseudocolor", "rho", 1, 0)
25 SetActivePlots(1)
26 AddOperator("Slice", 0)
27 AddOperator("Threshold", 0)
28
29 SliceAtts = SliceAttributes()
30 SliceAtts.originType = SliceAtts.Intercept # Point, Intercept, Percent, Zone, Node
31 SliceAtts.originPoint = (0, 0, 0)
32 SliceAtts.originIntercept = 0
33 SliceAtts.originPercent = 0
34 SliceAtts.originZone = 0
35 SliceAtts.originNode = 0
36 SliceAtts.normal = (0, 0, -1)
37 SliceAtts.axisType = SliceAtts.Arbitrary # XAxis, YAxis, ZAxis, Arbitrary, ThetaPhi
38 SliceAtts.upAxis = (0, -1, 0)
39 SliceAtts.project2d = 1
40 SliceAtts.interactive = 1
41 SliceAtts.flip = 0
42 SliceAtts.originZoneDomain = 0
43 SliceAtts.originNodeDomain = 0
44 SliceAtts.meshName = "SpatialGrid"
45 SliceAtts.theta = 0
46 SliceAtts.phi = 90
47 SetOperatorOptions(SliceAtts, 0)
48
49 ThresholdAtts = ThresholdAttributes()
50 ThresholdAtts.outputMeshType = 0
51 ThresholdAtts.listedVarNames = ("Boundary_type")
52 ThresholdAtts.zonePortions = (1)
53 ThresholdAtts.lowerBounds = (1)
54 ThresholdAtts.upperBounds = (1)
55 ThresholdAtts.defaultVarName = "Boundary_type"
56 ThresholdAtts.defaultVarIsScalar = 1
57 SetOperatorOptions(ThresholdAtts, 0)
58
59 PseudocolorAtts = PseudocolorAttributes()
60 PseudocolorAtts.scaling = PseudocolorAtts.Linear # Linear, Log, Skew
61 PseudocolorAtts.skewFactor = 1
62 PseudocolorAtts.limitsMode = PseudocolorAtts.OriginalData # OriginalData, CurrentPlot
63 PseudocolorAtts.minFlag = 1
64 PseudocolorAtts.min = 1e5
65 PseudocolorAtts.maxFlag = 1
66 PseudocolorAtts.max = 2e7
67 PseudocolorAtts.centering = PseudocolorAtts.Natural # Natural, Nodal, Zonal
68 PseudocolorAtts.colorTableName = "hot_desaturated"
69 PseudocolorAtts.invertColorTable = 0
70 PseudocolorAtts.opacityType = PseudocolorAtts.FullyOpaque # ColorTable, FullyOpaque, Constant, Ramp, VariableRange
71 PseudocolorAtts.opacityVariable = ""
72 PseudocolorAtts.opacity = 1
73 PseudocolorAtts.opacityVarMin = 0
74 PseudocolorAtts.opacityVarMax = 1
75 PseudocolorAtts.opacityVarMinFlag = 0
76 PseudocolorAtts.opacityVarMaxFlag = 0
77 PseudocolorAtts.pointSize = 0.05
78 PseudocolorAtts.pointType = PseudocolorAtts.Point # Box, Axis, Icosahedron, Octahedron, Tetrahedron, SphereGeometry, Point, Sphere
79 PseudocolorAtts.pointSizeVarEnabled = 0
80 PseudocolorAtts.pointSizeVar = "default"
81 PseudocolorAtts.pointSizePixels = 2
82 PseudocolorAtts.lineType = PseudocolorAtts.Line # Line, Tube, Ribbon
83 PseudocolorAtts.lineStyle = PseudocolorAtts.SOLID # SOLID, DASH, DOT, DOTDASH
84 PseudocolorAtts.lineWidth = 0
85 PseudocolorAtts.tubeDisplayDensity = 10
86 PseudocolorAtts.tubeRadiusSizeType = PseudocolorAtts.FractionOfBBox # Absolute, FractionOfBBox
87 PseudocolorAtts.tubeRadiusAbsolute = 0.125
88 PseudocolorAtts.tubeRadiusBBox = 0.005
89 PseudocolorAtts.varyTubeRadius = 0
90 PseudocolorAtts.varyTubeRadiusVariable = ""
91 PseudocolorAtts.varyTubeRadiusFactor = 10
92 PseudocolorAtts.endPointType = PseudocolorAtts.None # None, Tails, Heads, Both
93 PseudocolorAtts.endPointStyle = PseudocolorAtts.Spheres # Spheres, Cones
94 PseudocolorAtts.endPointRadiusSizeType = PseudocolorAtts.FractionOfBBox # Absolute, FractionOfBBox
95 PseudocolorAtts.endPointRadiusAbsolute = 1
96 PseudocolorAtts.endPointRadiusBBox = 0.005
97 PseudocolorAtts.endPointRatio = 2
98 PseudocolorAtts.renderSurfaces = 1
99 PseudocolorAtts.renderWireframe = 0
100 PseudocolorAtts.renderPoints = 0
101 PseudocolorAtts.smoothingLevel = 0
102 PseudocolorAtts.legendFlag = 1
103 PseudocolorAtts.lightingFlag = 1
104 SetPlotOptions(PseudocolorAtts)
105 TimeSliderPreviousState()
106
107 print "Drawing plots..."
108 DrawPlots()
109 print "Plots drawn, saving..."
110
111
112 AnnotationAtts = AnnotationAttributes()
113 AnnotationAtts.axes2D.visible = 1
114 AnnotationAtts.axes2D.autoSetTicks = 0
115 AnnotationAtts.axes2D.autoSetScaling = 1
116 AnnotationAtts.axes2D.lineWidth = 5
117 AnnotationAtts.axes2D.tickLocation = AnnotationAtts.axes2D.Inside # Inside, Outside, Both
118 AnnotationAtts.axes2D.tickAxes = AnnotationAtts.axes2D.All # Off, Bottom, Left, BottomLeft, All
119 AnnotationAtts.axes2D.xAxis.title.visible = 1
120 AnnotationAtts.axes2D.xAxis.title.font.font = AnnotationAtts.axes2D.xAxis.title.font.Courier # Arial, Courier, Times
121 AnnotationAtts.axes2D.xAxis.title.font.scale = 1
122 AnnotationAtts.axes2D.xAxis.title.font.useForegroundColor = 0
123 AnnotationAtts.axes2D.xAxis.title.font.color = (255, 255, 255, 255)
124 AnnotationAtts.axes2D.xAxis.title.font.bold = 1
125 AnnotationAtts.axes2D.xAxis.title.font.italic = 1
126 AnnotationAtts.axes2D.xAxis.title.userTitle = 0
127 AnnotationAtts.axes2D.xAxis.title.userUnits = 0
128 AnnotationAtts.axes2D.xAxis.title.title = "X-Axis"
129 AnnotationAtts.axes2D.xAxis.title.units = ""
130 AnnotationAtts.axes2D.xAxis.label.visible = 1
131 AnnotationAtts.axes2D.xAxis.label.font.font = AnnotationAtts.axes2D.xAxis.label.font.Courier # Arial, Courier, Times
132 AnnotationAtts.axes2D.xAxis.label.font.scale = 1
133 AnnotationAtts.axes2D.xAxis.label.font.useForegroundColor = 0
134 AnnotationAtts.axes2D.xAxis.label.font.color = (255, 255, 255, 255)
135 AnnotationAtts.axes2D.xAxis.label.font.bold = 1
136 AnnotationAtts.axes2D.xAxis.label.font.italic = 1
137 AnnotationAtts.axes2D.xAxis.label.scaling = 0
138 AnnotationAtts.axes2D.xAxis.tickMarks.visible = 1
139 AnnotationAtts.axes2D.xAxis.tickMarks.majorMinimum = -1.274e8
140 AnnotationAtts.axes2D.xAxis.tickMarks.majorMaximum = 2.548e8
141 AnnotationAtts.axes2D.xAxis.tickMarks.minorSpacing = 6.371e6
142 AnnotationAtts.axes2D.xAxis.tickMarks.majorSpacing = 6.371e7
143 AnnotationAtts.axes2D.xAxis.grid = 0
144 AnnotationAtts.axes2D.yAxis.title.visible = 1
145 AnnotationAtts.axes2D.yAxis.title.font.font = AnnotationAtts.axes2D.yAxis.title.font.Courier # Arial, Courier, Times
146 AnnotationAtts.axes2D.yAxis.title.font.scale = 1
147 AnnotationAtts.axes2D.yAxis.title.font.useForegroundColor = 0
148 AnnotationAtts.axes2D.yAxis.title.font.color = (255, 255, 255, 255)
149 AnnotationAtts.axes2D.yAxis.title.font.bold = 1
150 AnnotationAtts.axes2D.yAxis.title.font.italic = 1
151 AnnotationAtts.axes2D.yAxis.title.userTitle = 0
152 AnnotationAtts.axes2D.yAxis.title.userUnits = 0
153 AnnotationAtts.axes2D.yAxis.title.title = "Y-Axis"
154 AnnotationAtts.axes2D.yAxis.title.units = ""
155 AnnotationAtts.axes2D.yAxis.label.visible = 1
156 AnnotationAtts.axes2D.yAxis.label.font.font = AnnotationAtts.axes2D.yAxis.label.font.Courier # Arial, Courier, Times
157 AnnotationAtts.axes2D.yAxis.label.font.scale = 1
158 AnnotationAtts.axes2D.yAxis.label.font.useForegroundColor = 0
159 AnnotationAtts.axes2D.yAxis.label.font.color = (255, 255, 255, 255)
160 AnnotationAtts.axes2D.yAxis.label.font.bold = 1
161 AnnotationAtts.axes2D.yAxis.label.font.italic = 1
162 AnnotationAtts.axes2D.yAxis.label.scaling = 0
163 AnnotationAtts.axes2D.yAxis.tickMarks.visible = 1
164 AnnotationAtts.axes2D.yAxis.tickMarks.majorMinimum = -3.322e8
165 AnnotationAtts.axes2D.yAxis.tickMarks.majorMaximum = 4.322e8
166 AnnotationAtts.axes2D.yAxis.tickMarks.minorSpacing = 6.371e6
167 AnnotationAtts.axes2D.yAxis.tickMarks.majorSpacing = 6.371e7
168 AnnotationAtts.axes2D.yAxis.grid = 0
169 AnnotationAtts.axes3D.visible = 0
170 AnnotationAtts.axes3D.autoSetTicks = 1
171 AnnotationAtts.axes3D.autoSetScaling = 1
172 AnnotationAtts.axes3D.lineWidth = 0
173 AnnotationAtts.axes3D.tickLocation = AnnotationAtts.axes3D.Inside # Inside, Outside, Both
174 AnnotationAtts.axes3D.axesType = AnnotationAtts.axes3D.ClosestTriad # ClosestTriad, FurthestTriad, OutsideEdges, StaticTriad, StaticEdges
175 AnnotationAtts.axes3D.triadFlag = 0
176 AnnotationAtts.axes3D.bboxFlag = 0
177 AnnotationAtts.axes3D.xAxis.title.visible = 1
178 AnnotationAtts.axes3D.xAxis.title.font.font = AnnotationAtts.axes3D.xAxis.title.font.Arial # Arial, Courier, Times
179 AnnotationAtts.axes3D.xAxis.title.font.scale = 1
180 AnnotationAtts.axes3D.xAxis.title.font.useForegroundColor = 0
181 AnnotationAtts.axes3D.xAxis.title.font.color = (255, 255, 255, 255)
182 AnnotationAtts.axes3D.xAxis.title.font.bold = 0
183 AnnotationAtts.axes3D.xAxis.title.font.italic = 0
184 AnnotationAtts.axes3D.xAxis.title.userTitle = 0
185 AnnotationAtts.axes3D.xAxis.title.userUnits = 0
186 AnnotationAtts.axes3D.xAxis.title.title = "X-Axis"
187 AnnotationAtts.axes3D.xAxis.title.units = ""
188 AnnotationAtts.axes3D.xAxis.label.visible = 1
189 AnnotationAtts.axes3D.xAxis.label.font.font = AnnotationAtts.axes3D.xAxis.label.font.Arial # Arial, Courier, Times
190 AnnotationAtts.axes3D.xAxis.label.font.scale = 1
191 AnnotationAtts.axes3D.xAxis.label.font.useForegroundColor = 0
192 AnnotationAtts.axes3D.xAxis.label.font.color = (255, 255, 255, 255)
193 AnnotationAtts.axes3D.xAxis.label.font.bold = 0
194 AnnotationAtts.axes3D.xAxis.label.font.italic = 0
195 AnnotationAtts.axes3D.xAxis.label.scaling = 0
196 AnnotationAtts.axes3D.xAxis.tickMarks.visible = 1
197 AnnotationAtts.axes3D.xAxis.tickMarks.majorMinimum = 0
198 AnnotationAtts.axes3D.xAxis.tickMarks.majorMaximum = 1
199 AnnotationAtts.axes3D.xAxis.tickMarks.minorSpacing = 0.02
200 AnnotationAtts.axes3D.xAxis.tickMarks.majorSpacing = 0.2
201 AnnotationAtts.axes3D.xAxis.grid = 0
202 AnnotationAtts.axes3D.yAxis.title.visible = 1
203 AnnotationAtts.axes3D.yAxis.title.font.font = AnnotationAtts.axes3D.yAxis.title.font.Arial # Arial, Courier, Times
204 AnnotationAtts.axes3D.yAxis.title.font.scale = 1
205 AnnotationAtts.axes3D.yAxis.title.font.useForegroundColor = 0
206 AnnotationAtts.axes3D.yAxis.title.font.color = (255, 255, 255, 255)
207 AnnotationAtts.axes3D.yAxis.title.font.bold = 0
208 AnnotationAtts.axes3D.yAxis.title.font.italic = 0
209 AnnotationAtts.axes3D.yAxis.title.userTitle = 0
210 AnnotationAtts.axes3D.yAxis.title.userUnits = 0
211 AnnotationAtts.axes3D.yAxis.title.title = "Y-Axis"
212 AnnotationAtts.axes3D.yAxis.title.units = ""
213 AnnotationAtts.axes3D.yAxis.label.visible = 1
214 AnnotationAtts.axes3D.yAxis.label.font.font = AnnotationAtts.axes3D.yAxis.label.font.Arial # Arial, Courier, Times
215 AnnotationAtts.axes3D.yAxis.label.font.scale = 1
216 AnnotationAtts.axes3D.yAxis.label.font.useForegroundColor = 0
217 AnnotationAtts.axes3D.yAxis.label.font.color = (255, 255, 255, 255)
218 AnnotationAtts.axes3D.yAxis.label.font.bold = 0
219 AnnotationAtts.axes3D.yAxis.label.font.italic = 0
220 AnnotationAtts.axes3D.yAxis.label.scaling = 0
221 AnnotationAtts.axes3D.yAxis.tickMarks.visible = 1
222 AnnotationAtts.axes3D.yAxis.tickMarks.majorMinimum = 0
223 AnnotationAtts.axes3D.yAxis.tickMarks.majorMaximum = 1
224 AnnotationAtts.axes3D.yAxis.tickMarks.minorSpacing = 0.02
225 AnnotationAtts.axes3D.yAxis.tickMarks.majorSpacing = 0.2
226 AnnotationAtts.axes3D.yAxis.grid = 0
227 AnnotationAtts.axes3D.zAxis.title.visible = 1
228 AnnotationAtts.axes3D.zAxis.title.font.font = AnnotationAtts.axes3D.zAxis.title.font.Arial # Arial, Courier, Times
229 AnnotationAtts.axes3D.zAxis.title.font.scale = 1
230 AnnotationAtts.axes3D.zAxis.title.font.useForegroundColor = 0
231 AnnotationAtts.axes3D.zAxis.title.font.color = (255, 255, 255, 255)
232 AnnotationAtts.axes3D.zAxis.title.font.bold = 0
233 AnnotationAtts.axes3D.zAxis.title.font.italic = 0
234 AnnotationAtts.axes3D.zAxis.title.userTitle = 0
235 AnnotationAtts.axes3D.zAxis.title.userUnits = 0
236 AnnotationAtts.axes3D.zAxis.title.title = "Z-Axis"
237 AnnotationAtts.axes3D.zAxis.title.units = ""
238 AnnotationAtts.axes3D.zAxis.label.visible = 1
239 AnnotationAtts.axes3D.zAxis.label.font.font = AnnotationAtts.axes3D.zAxis.label.font.Arial # Arial, Courier, Times
240 AnnotationAtts.axes3D.zAxis.label.font.scale = 1
241 AnnotationAtts.axes3D.zAxis.label.font.useForegroundColor = 0
242 AnnotationAtts.axes3D.zAxis.label.font.color = (255, 255, 255, 255)
243 AnnotationAtts.axes3D.zAxis.label.font.bold = 0
244 AnnotationAtts.axes3D.zAxis.label.font.italic = 0
245 AnnotationAtts.axes3D.zAxis.label.scaling = 0
246 AnnotationAtts.axes3D.zAxis.tickMarks.visible = 1
247 AnnotationAtts.axes3D.zAxis.tickMarks.majorMinimum = 0
248 AnnotationAtts.axes3D.zAxis.tickMarks.majorMaximum = 1
249 AnnotationAtts.axes3D.zAxis.tickMarks.minorSpacing = 0.02
250 AnnotationAtts.axes3D.zAxis.tickMarks.majorSpacing = 0.2
251 AnnotationAtts.axes3D.zAxis.grid = 0
252 AnnotationAtts.axes3D.setBBoxLocation = 0
253 AnnotationAtts.axes3D.bboxLocation = (0, 1, 0, 1, 0, 1)
254 AnnotationAtts.userInfoFlag = 0
255 AnnotationAtts.userInfoFont.font = AnnotationAtts.userInfoFont.Arial # Arial, Courier, Times
256 AnnotationAtts.userInfoFont.scale = 1
257 AnnotationAtts.userInfoFont.useForegroundColor = 0
258 AnnotationAtts.userInfoFont.color = (255, 255, 255, 255)
259 AnnotationAtts.userInfoFont.bold = 0
260 AnnotationAtts.userInfoFont.italic = 0
261 AnnotationAtts.databaseInfoFlag = 0
262 AnnotationAtts.timeInfoFlag = 1
263 AnnotationAtts.databaseInfoFont.font = AnnotationAtts.databaseInfoFont.Arial # Arial, Courier, Times
264 AnnotationAtts.databaseInfoFont.scale = 1
265 AnnotationAtts.databaseInfoFont.useForegroundColor = 0
266 AnnotationAtts.databaseInfoFont.color = (255, 255, 255, 255)
267 AnnotationAtts.databaseInfoFont.bold = 0
268 AnnotationAtts.databaseInfoFont.italic = 0
269 AnnotationAtts.databaseInfoExpansionMode = AnnotationAtts.File # File, Directory, Full, Smart, SmartDirectory
270 AnnotationAtts.databaseInfoTimeScale = 1
271 AnnotationAtts.databaseInfoTimeOffset = 0
272 AnnotationAtts.legendInfoFlag = 0
273 AnnotationAtts.backgroundColor = (255, 255, 255, 255)
274 AnnotationAtts.foregroundColor = (0, 0, 0, 255)
275 AnnotationAtts.gradientBackgroundStyle = AnnotationAtts.Radial # TopToBottom, BottomToTop, LeftToRight, RightToLeft, Radial
276 AnnotationAtts.gradientColor1 = (0, 0, 255, 255)
277 AnnotationAtts.gradientColor2 = (0, 0, 0, 255)
278 AnnotationAtts.backgroundMode = AnnotationAtts.Solid # Solid, Gradient, Image, ImageSphere
279 AnnotationAtts.backgroundImage = ""
280 AnnotationAtts.imageRepeatX = 1
281 AnnotationAtts.imageRepeatY = 1
282 AnnotationAtts.axesArray.visible = 1
283 AnnotationAtts.axesArray.ticksVisible = 1
284 AnnotationAtts.axesArray.autoSetTicks = 1
285 AnnotationAtts.axesArray.autoSetScaling = 1
286 AnnotationAtts.axesArray.lineWidth = 0
287 AnnotationAtts.axesArray.axes.title.visible = 1
288 AnnotationAtts.axesArray.axes.title.font.font = AnnotationAtts.axesArray.axes.title.font.Arial # Arial, Courier, Times
289 AnnotationAtts.axesArray.axes.title.font.scale = 1
290 AnnotationAtts.axesArray.axes.title.font.useForegroundColor = 0
291 AnnotationAtts.axesArray.axes.title.font.color = (255, 255, 255, 255)
292 AnnotationAtts.axesArray.axes.title.font.bold = 0
293 AnnotationAtts.axesArray.axes.title.font.italic = 0
294 AnnotationAtts.axesArray.axes.title.userTitle = 0
295 AnnotationAtts.axesArray.axes.title.userUnits = 0
296 AnnotationAtts.axesArray.axes.title.title = ""
297 AnnotationAtts.axesArray.axes.title.units = ""
298 AnnotationAtts.axesArray.axes.label.visible = 1
299 AnnotationAtts.axesArray.axes.label.font.font = AnnotationAtts.axesArray.axes.label.font.Arial # Arial, Courier, Times
300 AnnotationAtts.axesArray.axes.label.font.scale = 1
301 AnnotationAtts.axesArray.axes.label.font.useForegroundColor = 0
302 AnnotationAtts.axesArray.axes.label.font.color = (255, 255, 255, 255)
303 AnnotationAtts.axesArray.axes.label.font.bold = 0
304 AnnotationAtts.axesArray.axes.label.font.italic = 0
305 AnnotationAtts.axesArray.axes.label.scaling = 0
306 AnnotationAtts.axesArray.axes.tickMarks.visible = 1
307 AnnotationAtts.axesArray.axes.tickMarks.majorMinimum = 0
308 AnnotationAtts.axesArray.axes.tickMarks.majorMaximum = 1
309 AnnotationAtts.axesArray.axes.tickMarks.minorSpacing = 0.02
310 AnnotationAtts.axesArray.axes.tickMarks.majorSpacing = 0.2
311 AnnotationAtts.axesArray.axes.grid = 0
312 SetAnnotationAttributes(AnnotationAtts)
313
314 View2DAtts = View2DAttributes()
315 View2DAtts.windowCoords = (-50119193.08, 405054205.892, -199223792.493, 199223792.493)
316 View2DAtts.viewportCoords = (0, 1, 0, 1)
317 View2DAtts.fullFrameActivationMode = View2DAtts.Auto # On, Off, Auto
318 View2DAtts.fullFrameAutoThreshold = 100
319 View2DAtts.xScale = View2DAtts.LINEAR # LINEAR, LOG
320 View2DAtts.yScale = View2DAtts.LINEAR # LINEAR, LOG
321 View2DAtts.windowValid = 1
322 SetView2D(View2DAtts)
323
324 SaveWindowAtts = SaveWindowAttributes()
325 SaveWindowAtts.outputToCurrentDirectory = 0
326 SaveWindowAtts.outputDirectory = outputLocation
327 SaveWindowAtts.fileName = fileName+number
328 SaveWindowAtts.family = 0
329 SaveWindowAtts.format = SaveWindowAtts.PNG # BMP, CURVE, JPEG, OBJ, PNG, POSTSCRIPT, POVRAY, PPM, RGB, STL, TIFF, ULTRA, VTK, PLY
330 SaveWindowAtts.width = 2664
331 SaveWindowAtts.height = 2332
332 SaveWindowAtts.screenCapture = 0
333 SaveWindowAtts.saveTiled = 0
334 SaveWindowAtts.quality = 80
335 SaveWindowAtts.progressive = 0
336 SaveWindowAtts.binary = 0
337 SaveWindowAtts.stereo = 0
338 SaveWindowAtts.compression = SaveWindowAtts.PackBits # None, PackBits, Jpeg, Deflate
339 SaveWindowAtts.forceMerge = 0
340 SaveWindowAtts.resConstraint = SaveWindowAtts.NoConstraint # NoConstraint, EqualWidthHeight, ScreenProportions
341 SaveWindowAtts.advancedMultiWindowSave = 0
342 SetSaveWindowAttributes(SaveWindowAtts)
343 SaveWindow()
344
345 DeleteAllPlots()
346 CloseDatabase(fileLocation)
347
348 subprocess.call(["convert", SaveWindowAtts.fileName+".png", dotsFile, "-composite", SaveWindowAtts.fileName+".png"])
349
350
351
352
353exit()