Now I wish to plot a grouped bar chart with the left y-axis from [-3.65:-3.55] (2nd column) and right y-axis from [0:40] (3rd column) against 1st column being the x-axis.
I initialized as
set style data histograms
set yrange [-3.65:-3.55]
set ytics nomirror
set y2range [0:40]
set y2tics
Can anybody help me with the rest of the code for plotting 1st column (x) vs. 2nd column (y) and 1st column vs. 3rd column (y2)
Thanks,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sir,
My *.dat file is shown below
Experiment Onset Current Density
1 -3.574 31
2 -3.652 14
3 -3.662 15
4 -3.665 15
5 -3.663 14
6 -3.645 11
7 -3.644 10
8 -3.63 10
9 -3.653 10
10 -3.644 10
11 -3.649 11
12 -3.639 28
13 -3.642 9
14 -3.627 31
15 -3.643 21
16 -3.636 35
17 -3.628 24
18 -3.63 43
19 -3.638 25
Now I wish to plot a grouped bar chart with the left y-axis from [-3.65:-3.55] (2nd column) and right y-axis from [0:40] (3rd column) against 1st column being the x-axis.
I initialized as
set style data histograms
set yrange [-3.65:-3.55]
set ytics nomirror
set y2range [0:40]
set y2tics
Can anybody help me with the rest of the code for plotting 1st column (x) vs. 2nd column (y) and 1st column vs. 3rd column (y2)
Thanks,