create fig, show fig