Hi. I am a long user of gnuplot but new to this ML.I want to inform about my patch. (the attached) It adds a functionality "pointnumber" or "pn", which puts points along a line drawn by "linespoints" by given number of points. The result is similar to "pointinterval". But, it is more convenient because user can directly give the number of points appearing along a line without knowing the exact number of data points that makes the line. The position starting to put points is moved randomly to avoid overstruck points. A negative number for the point number works as same aspointinterval, put spaces in the line at points. It returns error in case both "pi" and "pn" are specified. I hope it is useful for everyone. ------------------------------------------------------------------------------ _______________________________________________ gnuplot-beta mailing list [hidden email] Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta |
On Friday, 18 November, 2016 19:35:22 KH.Moriyama wrote:
> Hi. > I am a long user of gnuplot but new to this ML. > I want to inform about my patch. (the attached) Could I ask you to upload your patch to the tracking page on SourceForge? https://sourceforge.net/p/gnuplot/patches/ I will have a look at it in more detail, but as a first comment I think that randomizing the point placement is not a good idea. It makes the points jump around when you replot, zoom, or scroll. Also the output of a script would not be exactly reproducible. Ethan > > It adds a functionality "pointnumber" or "pn", which puts points > along a line drawn by "linespoints" by given number of points. > The result is similar to "pointinterval". > But, it is more convenient because user can directly give > the number of points appearing along a line without > knowing the exact number of data points that makes the line. > > The position starting to put points is moved randomly to avoid > overstruck points. > A negative number for the point number works as same as > pointinterval, put spaces in the line at points. > It returns error in case both "pi" and "pn" are specified. > > I hope it is useful for everyone. > > mori <[hidden email]> ------------------------------------------------------------------------------ _______________________________________________ gnuplot-beta mailing list [hidden email] Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta |
Hi, Ethan, Thanks for reply. > Could I ask you to upload your patch to the tracking page on > SourceForge? > > https://sourceforge.net/p/gnup I attach a modified patch to this mail for fix of the error message in case of conflict with pointinterval, and the description about "set ..." that was actually not correct. > I will have a look at it in more detail, but as a first comment > I think that randomizing the point placement is not a good idea. > It makes the points jump around when you replot, zoom, or scroll. > Also the output of a script would not be exactly reproducible. Yes. I agree about that problem. Maybe a better way is to add another parameter to set the offset of the starting points or automatically change the location of starting points according to the number of lines plotted simultaneously. It seemed a little complicated. The present way with the random number was simpler and so far (for many years) I and some of my friends did not have practical inconvenience. mori ------------------------------------------------------------------------------ _______________________________________________ gnuplot-beta mailing list [hidden email] Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta |
Hi. It is a very late reply to Nov. 19 mail about a patch for "pointnumber".------- KH.Moriyama <[hidden email]> Blog: http://whoraibo.hatenablog.com/ +81-(0)80-3386-0618 (japan) +82-(0)10-2999-2246 (korea) On Sat, Nov 19, 2016 at 2:54 PM, KH.Moriyama <[hidden email]> wrote:
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ gnuplot-beta mailing list [hidden email] Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta |
Free forum by Nabble | Edit this page |