When it finishes, which can take a few minutes, there will be a file in your directory called out.png which is our plot. Immediate help: type "help" (plot window: hit 'h') Thomas Williams, Colin Kelley and many others It depends on the gnuplot version you have. Plot "Analog_block_3_reduced_sim2.csv" using 1:2 with lines t "Col 0 XY", \ # If you want to plot multiple xy pairs on the same graph, do this # t "Col 0 XY" is the title for the legend ![]() # with lines means to connect the points with lines # using 1:2 means column 1 is on the X axis and column 2 is on the Y # Set how the data is separated in the file Ours is called make_plot.gp and looks like this: Our first step is to make a plot file to use in gnuplot. Gnuplot provides a command line option (-pointsize v) and a resource (gnuplotpointsize: v) to control the size of points plotted with the points plotting. In the actual data file, there are 4096 X and Y columns and over 100,000 lines in each column. We have a 2.3GB file of XY points where we want to plot only a couple columns. ![]() If you have a very, very large file with a lot of data points in it, it might be painfully slow to try to open the file in Excel in order to make a plot of a subset of the data.
0 Comments
Leave a Reply. |