# HG changeset patch # User Ben Abbott # Date 1362070889 18000 # Node ID b672afbb7c3c32c54596946d8554ff45aac0e3aa # Parent f279fd604c7e0d309af3efe691514d3f9bd542c8 Increase gnuplot linestyle dash lengths. The "aqua" and "postscript" terminals have short dash lengths which make the "--" and "_." line types difficult to distinguish. * scripts/plot/__gnuplot_drawnow__.m: Set the "aqua" dashlength to 1 and the "postscript" dashlength to 2. diff -r f279fd604c7e -r b672afbb7c3c scripts/plot/__gnuplot_drawnow__.m --- a/scripts/plot/__gnuplot_drawnow__.m Thu Feb 28 11:41:31 2013 -0500 +++ b/scripts/plot/__gnuplot_drawnow__.m Thu Feb 28 12:01:29 2013 -0500 @@ -296,13 +296,18 @@ if (! __gnuplot_has_feature__ ("has_termoption_dashed")) ## If "set termoption dashed" isn't available add "dashed" option ## to the "set terminal ..." command, if it is supported. - if (any (strcmpi (term, {"aqua", "cgm", "eepic", "emf", "epslatex", \ - "fig", "pcl5", "mp", "next", "openstep", "pdf", \ - "pdfcairo", "pngcairo", "postscript", \ - "pslatex", "pstext", "svg", "tgif", "x11"}))) + if (any (strcmp (term, {"aqua", "cgm", "eepic", "emf", "epslatex", \ + "fig", "pcl5", "mp", "next", "openstep", "pdf", \ + "pdfcairo", "pngcairo", "postscript", \ + "pslatex", "pstext", "svg", "tgif", "x11"}))) term_str = [term_str " dashed"]; endif end + if (any (strcmp (term, {"aqua", "wxt"}))) + term_str = [term_str, " ", "dashlength 1"]; + elseif (any (strcmp (term, {"epslatex", "postscript", "pslatex"}))) + term_str = [term_str, " ", "dashlength 2"]; + endif ## Work around the gnuplot feature of growing the x11 window and ## flickering window (x11, windows, & wxt) when the mouse and