|
From: Ethan A M. <merritt@u.washington.edu> - 2015-01-28 18:37:23
|
On Wednesday, 28 January, 2015 09:48:07 Philipp K. Janert wrote: > > Consider the following data file: > > # File1 > 1 1 > 2 1 > 2 1 > 3 1 > 3 2 > 4 2 > 4 2 > 5 2 > > Now the command: > plot "d" u (1):1:(0.3):2 w boxplot > gives me two nice box plots, at levels "1" > and "2", side by side. > > Now consider the following file: > > # File2 > 1 10 > 2 1 > 2 1 > 3 1 > 3 2 > 4 2 > 4 2 > 5 2 > > The "level" of the FIRST record has been changed. > Now there are three levels, but I get the same > plot as for File1, except that the name of the > first level is now 10. I do not know exactly why that happens in gnuplot 5.0.0 but in any case it is no longer happening since the boxplot "layer" code was reworked as suggested by Achim Gratz. See discussion attached to Bug #1532. Therefore this issue is no longer present in the CVS version for either 5.0 or 5.1. It is unfortunate that it wasn't caught earlier, but apparently 2 weeks of post-release testing brings in more testers and more reports of problems than 6 months of pre-release testing. Ethan > > Now consider this file: > > # File3 > 1 1 > 2 10 > 2 1 > 3 1 > 3 2 > 4 2 > 4 2 > 5 2 > > Here, the level of some other (not the first) > record has been changed. Now I do get the plot > that I'd expect, showing three levels (one only > having a single point, of course). > > Doing this, by the way, has no effeect: > plot "d" u (1):1:(0.3):(stringcolumn(2)) w boxplot > > Strange, isn't it? > > Best, > > Ph. > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta -- Ethan A Merritt Biomolecular Structure Center, K-428 Health Sciences Bldg MS 357742, University of Washington, Seattle 98195-7742 |