Icon

Python Graphics - Linechart Multipanel with Date Variables on x Axis - Blood Pressure with Thresholds

<p>KNIME &amp; Python Graphics - Multi-Panel Threshold Line Chart for Blood Pressure Monitoring<br><br><br>Exploring the Power of Python Graphics with KNIME: A Collection of Examples<br>https://medium.com/p/841df87b5563</p><p></p><p>Create an Interactive Dashboard with KNIME Components and Python</p><p>https://medium.com/p/41ef794b1467</p>

URL: seaborn-data https://github.com/mwaskom/seaborn-data
URL: Hub: more Python Graphics with KNIME https://hub.knime.com/search?type=Workflow&tag=python,graphic&sort=maxKudos
URL: MEDIUM: Exploring the Power of Python Graphics with KNIME: A Collection of Examples https://medium.com/p/841df87b5563
URL: KNIME forum (73508) - rotate axis text on line plot https://forum.knime.com/t/how-to-rotate-the-scale-of-a-line-plot/73508/2?u=mlauber71
URL: HUB: KNIME & Python Graphics - Linechart with date variables on x axis https://hub.knime.com/-/spaces/-/~kJyNzwpnt5jTaxDZ/current-state/
URL: KNIME Forum (81011) - "Line Plot Readability Fix" https://forum.knime.com/t/line-plot-readability-fix/81011/3?u=mlauber71
URL: KNIME & Python Graphics - Scatterplot with ternd line and statistics https://forum.knime.com/t/scatter-plot-diagonal-reference-line/73484/2?u=mlauber71
URL: Blog: How to Set Up Your Python Extensions https://www.knime.com/blog/how-to-setup-the-python-extension
URL: KNIME Forum (82226) - Blood Pressure Chart https://forum.knime.com/t/blood-pressure-chart-in-knime/82226/3?u=mlauber71

Annotations and comments
  • KNIME & Python Graphics - Multi-Panel Threshold Line Chart for Blood Pressure Monitoring https://forum.knime.com/t/blood-pressure-chart-in-knime/82226/3?u=mlauber71 https://hub.knime.com/-/spaces/-/~7r4r-k4WrCzS5j_5/current-state/
  • KNIME and Python — Setting up and managing Conda environments https://medium.com/p/2ac217792539
  • The graphic is a multi-panel line chart that visualizes blood pressure measurements over time, specifically focusing on Systolic, Diastolic, and Pulse readings. The chart is divided into two panels: Upper Panel: Displays the Systolic and Diastolic measurements as continuous lines with different styles (e.g., solid and dashed). Data points are color-coded based on their adherence to defined thresholds—green for normal, orange for elevated, and red for high values. Lower Panel: Separately visualizes the Pulse measurements using a distinct line style (e.g., dotted) with the same color-coding scheme applied to the data points. Additional elements include: Threshold Indicators: Legends and a table summarize the threshold values used to categorize the measurements into normal, elevated, or high. Footnote: Positioned beneath the title, providing context or additional information about the data or the graphic. This type of graphic is particularly useful for tracking and analyzing trends in health metrics over time, allowing for quick visual assessment of when measurements cross critical thresholds.
  • context.workflow.parent-path
  • path.separator.system length_parent_path= length(column("context.workflow.parent-path")) substr(column("context.workflow.parent-path"), length_parent_path-1, 1)
  • => paths
  • create /data/ folder if it does not exist
  • context.workflow.absolute-path context.workflow.path context.workflow.name
  • context.workflow.data-path
  • data-path
  • path variables
  • blood_pressure_sample.xlsx
  • from_knime_linechart_dates.png
  • Y-Axis-A
  • Y-Axis-B
  • X-Axis
  • line chart with two axis
  • X-Axis-Variable
  • Y-Axis-A-Label
  • Y-Axis A Variable
  • Y-Axis-A Colour red
  • Y-Axis-B-Label
  • Y-Axis B Variable
  • Title of Graphic
  • Footnote of Graphic
  • X-Axis-Label
  • show_vertical_grid
  • show_horizontal_grid
  • filter numeric only
  • filter date only
  • only two columns
  • current day&time
  • ... and the temporary PNG name
  • yyyyMMdd_HHmmss => choose the time format
  • list of date columns
  • list of numeric columns
  • Download the PNG File
  • from_knime_scatterplot.png
  • font_size
  • a_threshold_a
  • a_threshold_b
  • a_threshold_c
  • b_threshold_b
  • b_threshold_c
  • b_threshold_a
  • c_threshold_b
  • c_threshold_a
  • c_threshold_c
  • v_graphic_name
  • v_graphic_file_name
  • label_x
  • label_y_a
  • label_y_b
  • label_y_c
  • Title and Type
  • 1.920 x 1.080 PNG file
  • colour_name
  • x_axis_format
  • x_axis_rotation
  • column_filter_var
  • PNG name prefix
  • Y-Axis-C-Label
  • v_colour_selected
  • v_marker
  • Date_Time*
  • v_colour
  • X-Axis Variable
  • Y-Axis C Variable

Nodes

Extensions

Links