JP - 2015-04-17

I have successfully generated 3D and 2D plots from large data files of pixel values, where the file is a list of xyz values in csv format with 3 columns: integer x value, integer y value, decimal z value. I would like to create a 2D histogram of only the z column now with, for example, 1000 bins from min to max value (or limits I hard code in). I don't know if this is possible as I have not gotten close yet when starting from styles of "histogram rowstacked" or "columnstacked". Has someone done this already, and can you share a good example code? I'm brand new to gnuplot and I don't know if I need to do this in two phases, first being to bin the values and next to plot them, or if this should be essentially a one-command operation. Thanks for any help.