Module: ProcPlot
- Includes:
- ProcSettingModule
- Defined in:
- lib/statsailr_procs_base/proc_setting/proc_plot.rb
Instance Method Summary collapse
- #setting_for_box(setting) ⇒ Object
- #setting_for_hist(setting) ⇒ Object
- #setting_for_legend(setting) ⇒ Object
- #setting_for_scatter(setting) ⇒ Object
Instance Method Details
#setting_for_box(setting) ⇒ Object
31 32 33 34 35 36 37 38 39 40 |
# File 'lib/statsailr_procs_base/proc_setting/proc_plot.rb', line 31 def setting_for_box( setting ) setting.libname = nil setting.envname = "sts_plot" setting.func_name = "box" setting.main_arg_and_how_to_treat = [ "var" , :read_as_strvec, :no_nil] setting.runtime_args = {"data" => param("data")} setting.store_result = false setting.print_opt = false setting.plot_opt = true end |
#setting_for_hist(setting) ⇒ Object
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/statsailr_procs_base/proc_setting/proc_plot.rb', line 20 def setting_for_hist( setting ) setting.libname = nil setting.envname = "sts_plot" setting.func_name = "hist" setting.main_arg_and_how_to_treat = [ "var" , :read_as_strvec, :no_nil] setting.runtime_args = {"data" => param("data") } setting.store_result = false setting.print_opt = false setting.plot_opt = true end |
#setting_for_legend(setting) ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/statsailr_procs_base/proc_setting/proc_plot.rb', line 9 def setting_for_legend( setting ) setting.libname = nil setting.envname = "sts_plot" setting.func_name = "legend" setting.main_arg_and_how_to_treat = [ "legend" , :read_as_strvec, :no_nil] setting.runtime_args = nil setting.store_result = false setting.print_opt = false setting.plot_opt = false end |
#setting_for_scatter(setting) ⇒ Object
42 43 44 45 46 47 48 49 50 51 |
# File 'lib/statsailr_procs_base/proc_setting/proc_plot.rb', line 42 def setting_for_scatter( setting ) setting.libname = nil setting.envname = "sts_plot" setting.func_name = "scatter" setting.main_arg_and_how_to_treat = [ "vars" , :read_as_strvec, :no_nil] setting.runtime_args = {"data" => param("data")} setting.store_result = false setting.print_opt = false setting.plot_opt = true end |