From: Daniel J S. <dan...@ie...> - 2004-08-12 17:12:42
|
Dave Denholm wrote: >Ethan Merritt <merritt@u.washington.edu> writes: > > > >>On Thursday 12 August 2004 03:44 am, Dave Denholm wrote: >> >> >>> if (type != LineSolid || width != 0) { /* select solid line */ >>> XSetLineAttributes(dpy, gc, 0, LineSolid, CapButt, JoinBevel); >>> } >>> >>>- try setting the linewidth param to 1 in the XSetLineAttributes call. >>> >>> >>Thanks for the tip. The change I actually made was to unconditionally call >> >> /* Force line type to solid, with round ends */ >> XSetLineAttributes(dpy, *current_gc, plot->lwidth, LineSolid, CapRound, JoinRound); >> >>I was under the impression that passing plot->lwidth was essentially a no-op, >>since that should have been the current state anyhow. I made it unconditional >>in order to force the CapRound attribute. But if I understand your summary of >>X oddities, it may actually be the explicit linewidth rather than the CapRound >>that causes the observed problem to go away. >> >> >> > > >I don't think plot->lwidth is appropriate for drawing symbols - if >you've got a very wide (gnuplot) line width, the outline of the points >will be drawn with a wide line. > >But maybe that is what you want. > I think it's fine so long as independent control, as it currently exists, is there, i.e. that example plot '-' w points lw 10 pt 1 ps 10 0 0 end Dan |