dot-check_input_plot_args function

Internal checks on common plot input arguments