|
From: Ethan M. <eam...@gm...> - 2016-08-04 21:48:36
|
On Thu, Aug 4, 2016 at 4:28 AM, Grothausmann, Roman Dr. < gro...@mh...> wrote: > Many thanks Ethan for the quick implementation. Works great and has no > problems with SVGs: > https://github.com/romangrothausmann/KursgleicheNG/blob/484c > 11347d2bee7ad3c7503e5126d5d79f01a32a/windrose.gp > > Comparing the vector arrow heads and the label placement in my test > project, reveals a slight displacement for 180° rotations which decreases > in both directions towards 0°/360°. I wasn't able to compensate these with > offsets. > That is probably due to imperfect vertical centering in the svg terminal output. The various gnuplot terminals are not consistent in placing vertically-centered text; some align to the text baseline, some to the midline, and some to whatever is possible. I suspect the svg terminal could do a better job than it currently does. Ethan > > Thanks again for the quick feature implementation. > > On 03/08/16 22:32, Ethan Merritt wrote: > >> I like the idea, and it requires only a trivial amount of code, so... >> in today's CVS (version 5.1) >> >> http://gnuplot.sourceforge.net/demo_cvs/rotate_labels.html >> >> using theozh's test data: >> >> plot $Data using 1:2:3:4 with labels rotate variable >> >> >> Ethan >> >> On Tue, Aug 2, 2016 at 12:07 AM, Grothausmann, Roman Dr. >> <gro...@mh... <mailto:grothausmann.roman@mh- >> hannover.de>> >> wrote: >> >> Dear mailing list members, >> >> >> Is there any way to plot labels rotated according to angles given by >> a data >> column? >> All I could find is: >> plot ... with labels rotate by X >> which, as I understand, only allows a fixed rotation for all labels. >> >> Any help or hints are very much appreciated >> Roman >> >> ------------------------------------------------------------ >> ------------------ >> _______________________________________________ >> gnuplot-info mailing list >> gnu...@li... <mailto:gnu...@li... >> rceforge.net> >> Membership management via: >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> >> >> >> |