I'm trying to plot 4 data files, each with ~30,000 x,y data points.
If I plot them all:
> plot 'file1' using 1:2, 'file2' using 1:2, ... , 'file4' using 1:2
then wgnuplot crashes (I'm using gnuplot binary version gp373w32.zip from this site) with the error message:
"wgnupl32.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created"
If I only plot two files, there is no problem, though interestingly enough, if i reissue the command then gnuplot crashes.
> plot 'file1' using 1:2, 'file2' using 1:2
(no crash yet)
> plot 'file1' using 1:2, 'file2' using 1:2
(crash)
My questions are:
1. Is this understood?
2. Is there a way around it?
Thanks,
James
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In all the years I've been producing Win32 binaries of gnuplot, this is the first such message I've seen, as far as I'm aware.
There is no internal limit to the number of data points per plot file, nor per gnuplot session. Whatever is crashing you here is most probably caused not by the sheer size of those plots, but by the actual contents of those files. How many columns do these files have? Does the crash also happen if you (repeatedly) plot a single file twice, i.e.
plot 'file1' u 1:2, 'file1' u 1:2
Does the crash still occur if you use 'replot' instead of retyping the plot command?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to plot 4 data files, each with ~30,000 x,y data points.
If I plot them all:
> plot 'file1' using 1:2, 'file2' using 1:2, ... , 'file4' using 1:2
then wgnuplot crashes (I'm using gnuplot binary version gp373w32.zip from this site) with the error message:
"wgnupl32.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created"
If I only plot two files, there is no problem, though interestingly enough, if i reissue the command then gnuplot crashes.
> plot 'file1' using 1:2, 'file2' using 1:2
(no crash yet)
> plot 'file1' using 1:2, 'file2' using 1:2
(crash)
My questions are:
1. Is this understood?
2. Is there a way around it?
Thanks,
James
Brief answers: No, on both counts.
In all the years I've been producing Win32 binaries of gnuplot, this is the first such message I've seen, as far as I'm aware.
There is no internal limit to the number of data points per plot file, nor per gnuplot session. Whatever is crashing you here is most probably caused not by the sheer size of those plots, but by the actual contents of those files. How many columns do these files have? Does the crash also happen if you (repeatedly) plot a single file twice, i.e.
plot 'file1' u 1:2, 'file1' u 1:2
Does the crash still occur if you use 'replot' instead of retyping the plot command?