![](/profiles/wavemetrics/themes/wavemetrics/logo.png)
Lock current aspect ratio
![](/sites/default/files/styles/thumbnail/public/default_images/Artboard%201_1.png?itok=jeHOCIXy)
bmb
Function LockAspect()
variable aspectRatio
GetWindow kwtopWin psize
aspectRatio = (V_right - V_left)/(V_bottom-V_top)
ModifyGraph width = {Aspect,aspectRatio}
End
variable aspectRatio
GetWindow kwtopWin psize
aspectRatio = (V_right - V_left)/(V_bottom-V_top)
ModifyGraph width = {Aspect,aspectRatio}
End
![](/sites/default/files/forum.png)
Forum
![](/sites/default/files/support.png)
Support
![](/sites/default/files/gallery.png)
Gallery
Igor Pro 9
Learn More
Igor XOP Toolkit
Learn More
Igor NIDAQ Tools MX
Learn More