Mercurial > octave-dspies
diff scripts/plot/__go_draw_axes__.m @ 6843:9adfed86501f
[project @ 2007-08-29 20:39:12 by jwe]
author | jwe |
---|---|
date | Wed, 29 Aug 2007 20:39:12 +0000 |
parents | 6c85f7d37e61 |
children | 32558239ed9e |
line wrap: on
line diff
--- a/scripts/plot/__go_draw_axes__.m Wed Aug 29 17:37:50 2007 +0000 +++ b/scripts/plot/__go_draw_axes__.m Wed Aug 29 20:39:12 2007 +0000 @@ -904,10 +904,21 @@ otherwise lt = ""; endswitch - if (! isempty (lt)) - fprintf (plot_stream, " linetype %s", lt); - found_style = true; - endif + + ## FIXME -- linetype is currently broken, since it disables the + ## gnuplot default dashed and solid linestyles with the only + ## benefit of being able to specify '--' and get a single sized + ## dashed line of identical dash pattern for all called this way. + ## All dash patterns are a subset of "with lines" and none of the + ## lt specifications will correctly propagate into the x11 terminal + ## or the print command. Therefore, it is currently disabled in + ## order to allow print (..., "-dashed") etc. to work correctly. + + ## if (! isempty (lt)) + ## fprintf (plot_stream, " linetype %s", lt); + ## found_style = true; + ## endif + else lt = ""; endif