quadstat-8.x-1.x-dev/config/install/webform.webform.how_to_create_a_plot.yml

config/install/webform.webform.how_to_create_a_plot.yml
langcode: en
status: open
dependencies: {  }
open: null
close: null
weight: 0
uid: 1
template: false
archive: false
id: how_to_create_a_plot
title: 'How to Create a Plot'
description: 'Describes how to create a bivariate plot.'
category: ''
elements: "barplot_help:\n  '#type': processed_text\n  '#text': '<p>Please see the <a href=\"/app/scatterplot\">full application</a> for additional options and documentation.</p>'\n  '#format': full_html\ninline_data:\n  '#type': textarea\n  '#title': 'Inline Data'\n  '#placeholder': 'X,1,2,3'\n  '#format_items': comma\n  '#access_update_roles': {  }\nimage:\n  '#type': webform_image_file\n  '#title': Image\n  '#default_value': '-1'\n  '#format': value\n  '#format_items': comma\n  '#access_create_roles': {  }\n  '#access_update_roles': {  }\noutput:\n  '#type': textarea\n  '#title': Output\n  '#default_value': 'No output was generated.'\n  '#access_create_roles': {  }\n  '#access_update_roles': {  }\nr:\n  '#type': textarea\n  '#title': R\n  '#required': true\n  '#default_value': \"XORIG <- X;\\r\\nX10 <- head(X[,1],10);\\r\\nY10 <- head(X[,2],10);\\r\\nnames <- colnames(X);\\r\\nprint(\\\"[h2]How To Create a Scatterplot (Bivariate Plot)[/h2]\\\");\\r\\nprint(paste0(\\\"[p]To create a scatterplot, we must gather all the observations from the independent variable [code]\\\", names[1], \\\"[/code] and then plot them against the dependent variable [code]\\\", names[2], \\\"[/code] We will match an each observation from the independent variable with its corresponding value from the dependent observations.[/p]\\\"));\\r\\nprint(paste0(\\\"[p]First, let us list the observations in column [code]\\\", names[1], \\\"[/code] The  first ten observations include: \\\", paste(noquote(X10), collapse=\\\", \\\"), \\\".[/p]\\\"));\\r\\nprint(paste0(\\\"[p]Now, let us list the observations in column [code]\\\", names[2], \\\"[/code] The  first ten observations include: \\\", paste(noquote(Y10), collapse=\\\", \\\"), \\\".[/p]\\\"));\\r\\nprint(paste0(\\\"[p]We can also plot empty x- and y-axes which we will use as a foundation for our scatterplot. The scatterplot created immediately below will accommodate the Uniform(-10,10) distribution. If you are using a different dataset, you will use different scales for the axes. Our finished scatterplot will automatically use a scale that is appropriate for the dataset.[/p]\\\"));print(paste0(\\\"[p][img]/sites/app.quadstat.net/files/xy-axes.png[/img]\\\"));\\r\\nprint(paste0(\\\"[p]To find where on the scatterplot we need to put points, we can use cartesian coordinate pairs to guide us. If the X value is negative, the point will be  to the left of 0. If the X value is positive, the scatterplot point will be to the right of 0. Likewise for the Y coordinate: if the Y value is negative, the point will be below 0, and if the Y value is positive, the scatterplot point will be above 0.[/p]\\\"));\\r\\nprint(paste0(\\\"[p]The first pair we need to plot is [code](\\\", X10[1], \\\",\\\", Y10[1], \\\")[/code]. This tells us to put the first point \\\", X10[1], \\\" units to the left or right of 0, and also \\\", Y10[1], \\\" units up or down from 0 following the rules described above.[/p]\\\"));\\r\\nprint(paste0(\\\"[p]We do this for each point in the X and Y columns. Your finished product should look something like this.[/p]\\\"));\\r\\nplot(X);\\r\\n\"\n  '#format': raw\n  '#access_create_roles': {  }\n  '#access_update_roles': {  }\nv1:\n  '#type': number\n  '#title': V1\n  '#default_value': '-1'\n  '#autocomplete': 'off'\n  '#access_update_roles': {  }\n  '#min': '-1'\n  '#step': '1'\n  '#required': true\nv2:\n  '#type': number\n  '#title': V2\n  '#default_value': '-1'\n  '#autocomplete': 'off'\n  '#access_update_roles': {  }\n  '#min': '-1'\n  '#step': '1'\n  '#required': true\nx:\n  '#type': number\n  '#title': X\n  '#description': 'The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation&#39;s page.'\n  '#required': true\n  '#access_update_roles': {  }\n  '#min': '1'\n  '#step': '1'\nshorten_option:\n  '#type': checkbox\n  '#title': Shorten\n  '#access_update_roles': {  }\npdf:\n  '#type': checkbox\n  '#title': PDF\n  '#default_value': '0'\n  '#access_update_roles': {  }\nlicense:\n  '#type': select\n  '#title': 'Analysis License'\n  '#default_value': no_license\n  '#options':\n    afl_3.0: 'Academic Free License v3.0'\n    apache_2.0: 'Apache License 2.0'\n    artistic_2.0: 'Artistic License 2.0'\n    bsd_2_clause: 'BSD 2-clause \"Simplified\" License'\n    bsd_3_clause: 'BSD 3-clause \"New\" or \"Revised\" License'\n    bsd_3_clause_clear: 'BSD 3-clause Clear License'\n    bsl_1.0: 'Boost Software License 1.0'\n    cc0_1.0: 'Creative Commons Zero v1.0 Universal'\n    cc_by_4.0: 'Creative Commons Attribution 4.0'\n    cc_by_sa_4.0: 'Creative Commons Attribution Share Alike 4.0'\n    cc_by-nc-sa_4.0: 'Creative Commons Attribution NonCommercial ShareAlike 4.0 International'\n    ecl_2.0: 'Educational Community License v2.0'\n    epl_1.0: 'Eclipse Public License 1.0'\n    eupl_1.1: 'European Union Public License 1.1'\n    gpl_2.0: 'GNU General Public License v2.0'\n    gpl_3.0: 'GNU General Public License v3.0'\n    agpl_3.0: 'GNU Affero General Public License v3.0'\n    isc: 'ISC License'\n    lgpl_2.1: 'GNU Lesser General Public License v2.1'\n    lgpl_3.0: 'GNU Lesser General Public License v3.0'\n    lppl_1.3c: 'LaTeX Project Public License v1.3c'\n    mit: 'MIT License'\n    mpl_2.0: 'Mozilla Public License 2.0'\n    ms_pl: 'Microsoft Public License'\n    ms_rl: 'Microsoft Reciprocal License'\n    ncsa: 'University of Illinois/NCSA Open Source License'\n    no_license: 'No license (All rights reserved)'\n    open_data: 'Open Data Commons Project'\n    open_data_public: 'Open Data Commons Public Domain Dedication and Licence'\n    open_gov_v1: 'Open Government License v.1'\n    open_gov_v2: 'Open Government License v.2'\n    osl_3.0: 'Open Software License 3.0'\n    postgresql: 'PostgreSQL License'\n    public_domain: 'Public Domain'\n    unlicense: 'The Unlicense'\n    world_bank: 'World Bank Terms of Use'\n    zlib: 'zlib License'\n  '#access_update_roles': {  }\nhtml:\n  '#type': webform_document_file\n  '#title': 'HTML File'\n  '#format_items': comma\n  '#access_create_roles':\n    - administrator\n  '#access_update_roles': {  }\n  '#file_extensions': 'txt html'\npdf_file:\n  '#type': webform_document_file\n  '#title': 'PDF File'\n  '#wrapper_attributes':\n    class:\n      - 'fa fa-lg fa-file-pdf-o'\n  '#format': link\n  '#format_items': comma\n  '#access_create_roles':\n    - administrator\n  '#access_update_roles': {  }\n  '#file_extensions': 'txt pdf'\nshorten:\n  '#type': url\n  '#title': Shorten\n  '#access_create_roles':\n    - administrator\n  '#access_update_roles': {  }\nclear_analysis:\n  '#type': processed_text\n  '#title': Clear\n  '#access_update_roles': {  }\n  '#access_view_roles': {  }\n  '#text': '<input data-drupal-selector=\"edit-operation-clear-analysis\" id=\"edit-operation-clear-analysis\" name=\"op\" value=\"Clear\" class=\"button js-form-submit form-submit\" type=\"button\">'\n  '#format': full_html\n_y_:\n  '#type': textfield\n  '#title': $y$\n  '#title_display': inline\n  '#size': '7'\n  '#format_items': comma\n_x_:\n  '#type': textfield\n  '#title': $x$\n  '#title_display': inline\n  '#size': '7'\n  '#autocomplete': 'off'\n  '#format_items': comma"
css: ''
javascript: ''
settings:
  ajax: true
  ajax_scroll_top: form
  ajax_progress_type: ''
  ajax_effect: ''
  ajax_speed: null
  page: true
  page_submit_path: ''
  page_confirm_path: ''
  page_admin_theme: false
  form_title: both
  form_submit_once: false
  form_exception_message: ''
  form_open_message: ''
  form_close_message: ''
  form_previous_submissions: false
  form_confidential: false
  form_confidential_message: ''
  form_remote_addr: true
  form_convert_anonymous: false
  form_prepopulate: false
  form_prepopulate_source_entity: false
  form_prepopulate_source_entity_required: false
  form_prepopulate_source_entity_type: ''
  form_reset: false
  form_disable_autocomplete: false
  form_novalidate: false
  form_disable_inline_errors: false
  form_required: false
  form_unsaved: false
  form_disable_back: false
  form_submit_back: false
  form_autofocus: false
  form_details_toggle: false
  form_access_denied: default
  form_access_denied_title: ''
  form_access_denied_message: ''
  form_access_denied_attributes: {  }
  form_file_limit: ''
  submission_label: ''
  submission_log: false
  submission_views: {  }
  submission_views_replace: {  }
  submission_user_columns: {  }
  submission_user_duplicate: false
  submission_access_denied: default
  submission_access_denied_title: ''
  submission_access_denied_message: ''
  submission_access_denied_attributes: {  }
  submission_exception_message: ''
  submission_locked_message: ''
  submission_excluded_elements: {  }
  submission_exclude_empty: false
  submission_exclude_empty_checkbox: false
  previous_submission_message: ''
  previous_submissions_message: ''
  autofill: false
  autofill_message: ''
  autofill_excluded_elements: {  }
  wizard_progress_bar: true
  wizard_progress_pages: false
  wizard_progress_percentage: false
  wizard_progress_link: false
  wizard_progress_states: false
  wizard_start_label: ''
  wizard_preview_link: false
  wizard_confirmation: true
  wizard_confirmation_label: ''
  wizard_track: ''
  preview: 0
  preview_label: ''
  preview_title: ''
  preview_message: ''
  preview_attributes: {  }
  preview_excluded_elements: {  }
  preview_exclude_empty: true
  preview_exclude_empty_checkbox: false
  draft: none
  draft_multiple: false
  draft_auto_save: false
  draft_saved_message: ''
  draft_loaded_message: ''
  draft_pending_single_message: ''
  draft_pending_multiple_message: ''
  confirmation_type: message
  confirmation_title: ''
  confirmation_message: "<div id=\"quadstat-output\">\r\n[webform_submission:values:output]\r\n<img alt=\"Quadstat Image\" class=\"statistics_image\" src=\"[webform_submission:values:image]\" />\r\n</div>\r\n\r\n<div id=\"quadstat-html\"><span class=\"fa fa-file-code-o fa-lg\"></span> <a target=\"_blank\" href=\"[webform_submission:values:html:raw]\">HTML</a></div>\r\n\r\n<div id=\"quadstat-pdf\"><span class=\"fa fa-file-pdf-o fa-lg\"></span> <a target=\"_blank\" href=\"[webform_submission:values:pdf_file]\">PDF</a></div>\r\n\r\n<div id=\"quadstat-shorten\"><span class=\"fa fa-lg fa-link\"></span> <a target=\"_blank\" href=\"[webform_submission:values:shorten]\">[webform_submission:values:shorten]</a></div>"
  confirmation_url: '/webform/[webform:id]/submissions/[webform_submission:sid]'
  confirmation_attributes: {  }
  confirmation_back: true
  confirmation_back_label: ''
  confirmation_back_attributes: {  }
  confirmation_exclude_query: false
  confirmation_exclude_token: false
  confirmation_update: false
  limit_total: null
  limit_total_interval: null
  limit_total_message: ''
  limit_total_unique: false
  limit_user: null
  limit_user_interval: null
  limit_user_message: ''
  limit_user_unique: false
  entity_limit_total: null
  entity_limit_total_interval: null
  entity_limit_user: null
  entity_limit_user_interval: null
  purge: none
  purge_days: null
  results_disabled: false
  results_disabled_ignore: false
  token_view: false
  token_update: false
access:
  create:
    roles:
      - anonymous
      - authenticated
    users: {  }
    permissions: {  }
  view_any:
    roles:
      - anonymous
      - authenticated
    users: {  }
    permissions: {  }
  update_any:
    roles: {  }
    users: {  }
    permissions: {  }
  delete_any:
    roles: {  }
    users: {  }
    permissions: {  }
  purge_any:
    roles: {  }
    users: {  }
    permissions: {  }
  view_own:
    roles:
      - anonymous
      - authenticated
    users: {  }
    permissions: {  }
  update_own:
    roles: {  }
    users: {  }
    permissions: {  }
  delete_own:
    roles: {  }
    users: {  }
    permissions: {  }
  administer:
    roles: {  }
    users: {  }
    permissions: {  }
  test:
    roles: {  }
    users: {  }
    permissions: {  }
  configuration:
    roles: {  }
    users: {  }
    permissions: {  }
handlers: {  }
uuid: 9295d8fd-0e05-4bdb-babe-afb78881f430

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc