|
From: Ethan A M. <eam...@gm...> - 2017-10-16 05:00:50
|
On Sunday, 15 October 2017 10:53:08 Ethan A Merritt wrote: > On Sunday, 15 October 2017 13:06:50 David Kastrup wrote: > > > > So I now tried compiling 5.2.0. > > > > No change in the epslatex terminal: it would appear that _only_ the > > linewidth and the dash pattern for linestyle 1 are ever consulted and > > are used for _all_ lines. Linecolor can be changed per line style, but > > pretty much nothing else. > > Correct. It steps through sequential line colors. > > > Anybody have a good idea for where to patch this up? > > The following 1-line change might or might not produce acceptable > results for you. One problem is that the line segments making up > a contour are not necessarily drawn in order and some terminals > reset the dash pattern for each segment, leading to mostly solid > or mostly missing lines rather than the desired dash pattern. > For other terminal types this doesn't seem to be a problem. > > If this does work for you please report back. > We could make it an optional setting of some sort. > > %%%%%%%%%%%%%%%%%%%%%%%%%%%% > --- gnuplot52/src/graph3d.c 2017-09-15 20:26:48.393406844 -0700 > +++ test52/src/graph3d.c 2017-10-15 10:50:39.698779538 -0700 > @@ -1265,6 +1265,8 @@ do_3dplot( > /* otherwise the following would be sufficient */ > load_linetype(&ls, this_plot->hidden3d_top_linetype + ic); > } > +/* DEBUG */ /* increment dashtype also */ > +/* DEBUG */ thiscontour_lp_properties.d_type = ic; probably better as +/* DEBUG */ thiscontour_lp_properties.d_type = ls.d_type; > thiscontour_lp_properties.pm3d_color = ls.pm3d_color; > term_apply_lp_properties(&thiscontour_lp_properties); > } > %%%%%%%%%%%%%%%%%%%%%%%%%%%% > > -- |