English: Graph of ME/CFS papers known to PubMed by publication year. Data is from PubMed search. The blue bar is papers mentioning ME/CFS, and green is papers whose title contains ME/CFS. The latter may be a more reliable indicator of research activity, as papers whose title mentions ME/CFS are more likely to have substantial coverage as opposed to a passing mention.
Papers containing the phrase "myalgic encephalomyelitis" or "chronic fatigue syndrome"
Papers whose title contains the phrase "myalgic encephalomyelitis" or "chronic fatigue syndrome"
to share – to copy, distribute and transmit the work
to remix – to adapt the work
Under the following conditions:
attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
For each query, I downloaded the CSV of results by year. Then I combined the two CSVs in a spreadsheet, adding the omitted years where zero papers were published. Then I exported the file with both datasets together as papers.csv.
Source Data File
This is the file papers.csv that the gnuplot needs as an input. Copy and paste it into a text editor, and save as papers.csv.
I created this chart with Gnuplot, using the following code. It gets the numbers from the data file papers.csv, placed in the same folder as the gnuplot script.
# Output file options
set terminal svg size 800,630 background 'white' name 'Rate_of_publication_of_MECFS_papers' fname 'Noto Sans,16'
set output "gnuplot graph.svg"
# Input data file options
set datafile separator ','
set datafile commentschars '#'
# Graph style options
set title "ME/CFS Papers by year" font ",18"
set xlabel "Year of publication"
# Use this label instead to add a note about a year with incomplete data.
#set xlabel "Year of publication\n(2022 data is YTD as of 2022-12-02)"
set ylabel "Number of papers"
# Chart key/legend
# Only display graph border on left and bottom.
set border 3
set key left top
set grid x y
set tics front nomirror
# Plot the data
# ($1-0.25) offsets the bars 0.25 bars to the left.
# The (1) and (0.5) at the end of the argument to "using" defines the width of the bar.
# The third line is used to draw an outline for the mentions data on top of both data sets.
plot "papers.csv" using 1:2:(1) title "Papers mentioning ME/CFS" with boxes linecolor rgb "#0062C4" fillstyle solid noborder, \
"papers.csv" using ($1-0.25):3:(0.5) title "Titles containing ME/CFS" with boxes linecolor rgb "#62C400" fillstyle solid noborder, \
"papers.csv" using 1:2:(1) notitle with boxes linecolor rgb "black", \