From: Daniel J S. <dan...@ie...> - 2004-08-11 20:50:40
|
Ethan Merritt wrote: >On Monday 09 August 2004 11:04 pm, mi...@ph... wrote: > > >>Bug: >>On x11 (well, I haven't look to other terminals), points in the points and >>linepoints styles are "handicapped" -- look by a screen magnificator (xmag, >>kmag) to points obtained by: >> >>set size ratio 1 >>plot sin(x)/x w point pt 2 >> >> > >That is one strange bug you have found. The odd thing is that it seems >to be a bug in the X server. I can run the same gnuplot_x11 executable >on two different machines and get two different results. My best guess >at the moment is that the key difference is which version of X11 is >running, although it is also possible that it is a difference in the video >driver rather than the version. The issue is whether the rendering >engine does, or does not, draw the final pixel in a line segment that is >at 45 degrees. Changing the drawing style from CapButt to CapRound >while drawing points fixes this, at least on the machines I have tested. >I can't think of any bad effects from this so I will make the change. >I'm sure someone will speak up if it uncovers some complementary >bug on other X11 display setups. > >Meanwhile I notice that the aspect ratio of the plot symbols >scales with that of the current x11 window. This seems ugly to me, >so I propose to also change the code so that the cross/plus/star/etc >always has a 1:1 aspect ratio, even if the plot in which it lies does not. > I'm seeing the same kind of thing for the + (pluses) as well as the crosses. It appears like the last pixel is not being drawn. This *is* very odd. How could this have gone unnoticed when who every programmed it, programmed it? Dan > > |