File:Mental Hospital average stay length in OECD.svg
Original file (SVG file, nominally 1,080 × 720 pixels, file size: 116 KB)
Captions
Summary[edit]
DescriptionMental Hospital average stay length in OECD.svg |
English: Hospital average length of stay by diagnostic categories - Mental and behavioural disorders |
Date | |
Source |
Own work, Data from OECD and MHLW (Hospital report). |
Author | Yuasan |
Graph data[edit]
import matplotlib.pyplot as plt from cycler import cycler import pandas as pd df = pd.read_csv("data.tsv", index_col=0 , sep = "\t") df = df.T df = df.fillna(method='ffill') fig, ax = plt.subplots(figsize=(12, 8)) plt.rcParams['font.family'] = 'sans-serif' plt.rcParams['font.sans-serif'] = ['Noto Sans Display'] plt.subplots_adjust(left=0.07, bottom=0.19, right=0.96, top=0.93) cc = cycler('ls', ['-', '--']) * cycler('lw', range(1, 3)) ax.set_prop_cycle( plt.rcParams['axes.prop_cycle'] * cc) ax.plot(df) ax.legend(df.columns, fontsize=9, ncol=10, loc='center' ,bbox_to_anchor=(0., -0.23, 1., .102) ) ax.set_axisbelow(True) plt.ylabel("days", fontsize=15) plt.ylim([0,350]) plt.title(" Hospital average length of stay,\n Mental and behavioural disorders (OECD and MHLW)", fontsize=16) plt.tick_params(labelsize=9, pad=4) plt.xticks(rotation=35, fontsize=7) plt.yticks(fontsize=11) plt.grid(which='major',color='#cccccc',linestyle='-', axis="y") plt.savefig("image.svg")
Licensing[edit]
This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. | |
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 04:12, 4 September 2021 | 1,080 × 720 (116 KB) | Yuasan (talk | contribs) | 2020 data | |
04:58, 24 November 2014 | 619 × 443 (66 KB) | Yuasan (talk | contribs) | User created page with UploadWizard |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
- File:Oecd-mentalhospitalstay.svg (file redirect)
File usage on other wikis
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 864pt |
---|---|
Height | 576pt |