pro plot_env, save = save, restore = restore

common smei_plot_common, pling_p, pling_x, pling_y, pling_z

if keyword_set(save) then begin
    pling_p = !p
    pling_x = !x
    pling_y = !y
    pling_z = !z
endif else if keyword_set(restore) then begin
    !p = pling_p 
    !x = pling_x 
    !y = pling_y 
    !z = pling_z
endif

end