From: Philipp K. Janert <janert@ie...>  20080512 03:46:35

I have developed some code for a new smoothing algorithm, which adds some functionality to gnuplot which I have long been desperate for: a way to plot cumulative distribution functions directly from data. The new algorithm is similar to (and built on top of) "smooth frequency". Like "smooth frequency", it sorts data points in ascending order of xvalues, but then replaces each yvalue with the cumulative sum of all yvalues to the left of the current data point. I have submitted the code as patch 1962130. Please take a look and tell me what you think. The changes are small and very well localized. Best, Ph. 
From: Philipp K. Janert <janert@ie...>  20080512 04:25:06

I have thrown a quick demo up on my website, to show what this algorithm does: http://philippjanert.com/cumulative/ Best, Ph. On Sunday 11 May 2008 20:44, Philipp K. Janert wrote: > I have developed some code for a new smoothing > algorithm, which adds some functionality to gnuplot > which I have long been desperate for: a way to plot > cumulative distribution functions directly from data. > > The new algorithm is similar to (and built on top of) > "smooth frequency". Like "smooth frequency", it > sorts data points in ascending order of xvalues, but > then replaces each yvalue with the cumulative sum > of all yvalues to the left of the current data point. > > I have submitted the code as patch 1962130. > > Please take a look and tell me what you think. The > changes are small and very well localized. > > Best, > > Ph. 
From: Daniel Farrell <boyfarrell@gm...>  20080512 22:09:00

Hello, This is a great facility, well done! This is very useful for people, like me, that do MonteCarlo simulations. Now after all that hard work, here come the bit where people ask for improvements! I was thinking... ...it would be very useful, when plotting 3D data, to have projection on the back walls of the splot. For example, if I have some experimental points in 3D space which I think should be roughly follow a Gaussian distribution. I could make some histogram projection on to the back wall (xzplane) which would bin all y points. A similar histogram could be bin the x and z points and project on to the yz and zy plane, respectively. Having said that, it might be a bit complicated to mix 2D and 3D plots in this way. Maybe, this would be easily achieved simply as a 2D plot. i.e. 3D data goes in and a 2D projection along some specified axis come out as a histogram. Dan. On 12 May 2008, at 05:25, Philipp K. Janert wrote: > > I have thrown a quick demo up on my website, to > show what this algorithm does: > http://philippjanert.com/cumulative/ > > Best, > > Ph. > > > On Sunday 11 May 2008 20:44, Philipp K. Janert wrote: >> I have developed some code for a new smoothing >> algorithm, which adds some functionality to gnuplot >> which I have long been desperate for: a way to plot >> cumulative distribution functions directly from data. >> >> The new algorithm is similar to (and built on top of) >> "smooth frequency". Like "smooth frequency", it >> sorts data points in ascending order of xvalues, but >> then replaces each yvalue with the cumulative sum >> of all yvalues to the left of the current data point. >> >> I have submitted the code as patch 1962130. >> >> Please take a look and tell me what you think. The >> changes are small and very well localized. >> >> Best, >> >> Ph. > >  > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save > $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > gnuplotbeta mailing list > gnuplotbeta@... > https://lists.sourceforge.net/lists/listinfo/gnuplotbeta 
From: Ethan Merritt <merritt@u.washington.edu>  20080512 22:30:06

On Monday 12 May 2008 15:08, Daniel Farrell wrote: > Hello, > > This is a great facility, well done! This is very useful for people, > like me, that do MonteCarlo simulations. Now after all that hard > work, here come the bit where people ask for improvements! I was > thinking... > > ...it would be very useful, when plotting 3D data, to have projection > on the back walls of the splot. For example, if I have some > experimental points in 3D space which I think should be roughly follow > a Gaussian distribution. I could make some histogram projection on to > the back wall (xzplane) which would bin all y points. A similar > histogram could be bin the x and z points and project on to the yz and > zy plane, respectively. > > Having said that, it might be a bit complicated to mix 2D and 3D plots > in this way. Maybe, this would be easily achieved simply as a 2D plot. > i.e. 3D data goes in and a 2D projection along some specified axis > come out as a histogram. It can be done, but it takes multiple steps: 1) Plot the X and Y projections as 2D plots. Make sure the plot borders are of zero width (i.e. the plot fills the image). You can do this in the cvs version by using the new commands "set lmargin screen 0" etc. 2) Make the 3D plot as a composite in which the data itself is plotted in 3D, and the previous 2D projections are read back in using "with image" and mapped onto the side walls of the view box. Ethan > Dan. > > > On 12 May 2008, at 05:25, Philipp K. Janert wrote: > > > > I have thrown a quick demo up on my website, to > > show what this algorithm does: > > http://philippjanert.com/cumulative/ > > > > Best, > > > > Ph. > > > > > > On Sunday 11 May 2008 20:44, Philipp K. Janert wrote: > >> I have developed some code for a new smoothing > >> algorithm, which adds some functionality to gnuplot > >> which I have long been desperate for: a way to plot > >> cumulative distribution functions directly from data. > >> > >> The new algorithm is similar to (and built on top of) > >> "smooth frequency". Like "smooth frequency", it > >> sorts data points in ascending order of xvalues, but > >> then replaces each yvalue with the cumulative sum > >> of all yvalues to the left of the current data point. > >> > >> I have submitted the code as patch 1962130. > >> > >> Please take a look and tell me what you think. The > >> changes are small and very well localized. > >> > >> Best, > >> > >> Ph. > > > >  > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > Don't miss this year's exciting event. There's still time to save > > $100. > > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > _______________________________________________ > > gnuplotbeta mailing list > > gnuplotbeta@... > > https://lists.sourceforge.net/lists/listinfo/gnuplotbeta > > >  > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > gnuplotbeta mailing list > gnuplotbeta@... > https://lists.sourceforge.net/lists/listinfo/gnuplotbeta >  Ethan A Merritt Courier Deliveries: 1959 NE Pacific Dept of Biochemistry Regular Mail: Mailstop 357742 Health Sciences Building University of Washington  Seattle WA 981957742 
From: Daniel Farrell <boyfarrell@gm...>  20080513 10:56:45

Hi, Ethan, that's really cool I'm definitely going to try that! Will have to go in the gnuplot porn gallery when it's done :o) Dan. 