Lock current aspect ratio

Finds and locks the current aspect ratio of the top graph. Great for resizing image plots.

Function LockAspect()
    variable aspectRatio

    GetWindow kwtopWin psize
    aspectRatio = (V_right - V_left)/(V_bottom-V_top)
    ModifyGraph width = {Aspect,aspectRatio}
End

Forum

Support

Gallery

Igor Pro 8

Learn More

Igor XOP Toolkit

Learn More

Igor NIDAQ Tools MX

Learn More