changeset 20933:8020eceafaf0

Gnuplot legend text alignment fix * scripts/plot/util/private/__gnuplot_draw_axes__.m: For legend labels to the right of the legend symbols, align the text to the left.
author Cillian O'Driscoll <cillian.odriscoll@gmail.com>
date Thu, 17 Dec 2015 17:57:53 -0500
parents fab8d3898acd
children 8d82da0f3439
files scripts/plot/util/private/__gnuplot_draw_axes__.m
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/util/private/__gnuplot_draw_axes__.m	Thu Dec 17 12:01:36 2015 -0800
+++ b/scripts/plot/util/private/__gnuplot_draw_axes__.m	Thu Dec 17 17:57:53 2015 -0500
@@ -1558,9 +1558,9 @@
       horzvert = "horizontal";
     endif
     if (strcmpi (hlgnd.textposition, "right"))
-      reverse = "reverse";
+      reverse = "reverse Left";
     else
-      reverse = "noreverse";
+      reverse = "noreverse Right";
     endif
     inout = "inside";
     keypos = hlgnd.location;