!---------------------------------------------------------------------------- !---------------------------------------------------------------------------- !---------------------------------------------------------------------------- !+ ! Subroutine tao_var_useit_plot_calc (graph, var) ! ! Subroutine to set the variables for plotting. ! ! Input: ! ! Output: ! var -- Tao_var_struct: ! %useit_plot -- True if good for plotting. !- subroutine tao_var_useit_plot_calc (graph, var) use tao_struct implicit none type (tao_graph_struct) graph type (tao_var_struct) var(:) ! var%useit_plot = var%exists .and. var%good_plot .and. var%good_var .and. & (var%good_user .or. .not. graph%draw_only_good_user_data_or_vars) end subroutine tao_var_useit_plot_calc