Richard - 2026-08-06

I can not get the 2nd time based dataset to plot.

My example dataset:

0.000e+00,5.000e+04,10.242e+07
1.000e-05,5.000e+04,8.194e+07
2.000e-05,5.000e+04,2.048e+07
3.000e-05,5.000e+04,9.104e+06
4.000e-05,5.000e+04,5.121e+06
5.000e-05,5.000e+04,3.277e+06
6.000e-05,5.000e+04,2.276e+06
7.000e-05,5.000e+04,1.672e+06
8.000e-05,5.000e+04,1.280e+06
9.000e-05,5.000e+04,1.012e+06
1.000e-04,5.000e+04,8.194e+05

My *.gp file:

set datafile separator ","
set terminal png size 1000,1000
set output 'sim-diode-current_plot.png'
set grid ls 2
set xlabel 'time'
set key outside
set multiplot layout 2,1 columns

set ylabel 'volts'
set autoscale y
plot 'sim-diode-current_plot.dat' using 1:2 with lines title 'voltage'

set ylabel 'amps'
set yrange [7e-03:12e+07]
plot 'sim-diode-current_plot.dat' using 1:3 with lines title 'current'

unset multiplot

I have used the same functions for other plots that plot successfully with many more datasets, but this one
I can't get to work, please help.