-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path115_gnu_plot_denoise_plate1.gnu
executable file
·45 lines (30 loc) · 1.14 KB
/
115_gnu_plot_denoise_plate1.gnu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/usr/local/bin/gnuplot
# Output W3C Scalable Vector Graphics
set terminal svg size 1300, 375 font "Menlo,12"
# Set plot size
set size 1,1
# Set graph title
set title 'Plate 1 read counts after DADA2 denoising.'
# Set label of x-axis
set xlabel 'FastQ file'
# Set label of y-axis
set ylabel 'Reads at Stage'
# Use a histogram
set style data histogram
# Use clustered histogram (gap size of 1 makes xtics position better)
set style histogram clustered gap 1
# Use a solid fill style for histogram bars
set style fill solid 1 noborder
# Rotate x-axis labels by 60 degrees
set xtics rotate by 60 right
set xtics font "Menlo,10"
# define output path
set output "../Zenodo/Processing/115_gnu_plot_denoise_plate1.svg"
# Plot data from a file, with extra notes below:
#
# for [i=2:5] Loop for values of i between 2 and 5 (inclusive)
# using i:xtic(1) Plot column i using tick labels from column 1
# title columnheader Use the column headers (first row) as titles
# linewidth 4 Use a wideplotr line width
# plot
plot for [i=2:5] "../Zenodo/Processing/110_18S_denoised-stt_run_1_mod.txt" using i:xtic(1) title columnheader linewidth 4