![]() However, this isn't usually the best way to do this with multiple histograms like this. I have posted an answer that addresses the ability to do this in 3d. Whereas the first addresses what the OP was trying to accomplish, this second provides an alternative approach which address the underlying problem the OP was trying to overcome. This second answer is distinct from my first. Therefore, I would like to see 10 histograms behind each other in a sort of 3d perspective. I have 10 files like this, and since the values in the files are close to each other, they will completely overlap if I plot them all in one 2d histogram. ![]() My data is formatted simply in two columns: Index angle I don't understand why this would not put a histogram along the value 1 on the x-axis with the bins along the y-axis, and plot the height on the z-axis. Splot 'data.txt' gnuplot complains that the z values are undefined. ![]() I have tried to do the following command (using above procedure) hist = 'u (1):(binwidth*(floor(($2-binstart)/binwidth)+0.5)+binstart):(1) smooth freq w boxes Plot 'data.txt' I would just like to add multiple histograms in the same plot, but because they overlap in 2d, I would like to space them out in a 3d plot. I'm using the procedure given here and to produce histograms, and it works perfectly in 2d.īasically, the commands I use are hist = 'u (binwidth*(floor(($2-binstart)/binwidth)+0.5)+binstart):(1) smooth freq w boxes I'm looking for a way to plot histograms in 3d to produce something like this figure but where each series is a histogram. ![]()
0 Comments
Leave a Reply. |