Re: Gaps in dashed lines not transparent?



Thomas wrote:
The strange thing is that the part of the grid lines that overlay the
rectangle object shows white gaps instead of gaps with the color of
the rectangle. It seems as if the dashed lines do not have transparent
gaps. This applies to both, grid lines and arrow.

All tests I have done only consider the windows terminal as this is my
preferred terminal. Surprisingly if omitting the rectangle object and
setting a background color for the whole plot the gaps of the dashed
lines have the correct color.

There are at least two known bugs in the cvs version (4.5) that involve
dashed lines in the windows terminal.

1952364 Windows driver draws points with dashed lines
1952287 Windows driver draws dashed border for rectangles

Your particular problem may or may not be caused by one of the two
currently listed in the bug tracker. You could add a third entry.

As it happens, these bugs are holding up release of version 4.4.
I wish someone would undertake to help fix them.

One issue is that the people currently active in development are
not using Windows, so the Windows terminal has fallen seriously
behind. It doesn't handle transparency; it doesn't handle UTF8;
the help system doesn't work; there are some odd bug reports about
use under Vista for which I have seen no followup; and so on.

If you really want to take advantage of the new features in
4.4/4.5, I'm afraid you may either have to switch to another terminal
type or persuade more people familiar with windows programming to join
the development process.




Hi everybody,

I want to create a plot which shall have the following features:

- a dashed y-grid
- a dashed line to indicate a certain level
- colored rectangles in the background to highlight certain areas of
the plot

For this purpose I use a script like this:

set terminal windows color
set grid ytics lt 0 lc rgb "black"
set object 1 rectangle from -5.0,-1.0 to 5.0,1.0 behind fs solid
noborder fc rgb "orange"
set arrow 1 from -5.0,0.1 to 5.0,0.1 heads filled lt 0 lc rgb "blue"
plot sin(x) with lines



Does somebody know a solution to this phenomenon?

I am using Gnuplot Version 4.5 patchlevel 0, last modified October
2009, System: MS-Windows 32 bit on a Windows XP computer.

Thanks in advance,
Thomas


.



Relevant Pages

  • Gaps in dashed lines not transparent?
    ... I want to create a plot which shall have the following features: ... set object 1 rectangle from -5.0,-1.0 to 5.0,1.0 behind fs solid ... rectangle object shows white gaps instead of gaps with the color of ... Surprisingly if omitting the rectangle object and ...
    (comp.graphics.apps.gnuplot)
  • Re: Zero Width Pen Draws through clipped region...
    ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... Exclude the rectangle from the graphics clip region. ... IF you use a pen that is more than one pixel the clipping works ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: How to Drawstring with a character drawn "partially"?
    ... Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml ... /// Summary description for Form1. ... >> You could draw the text without setting a layout rectangle, ... >>> character of the text only shown partially. ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Zero Width Pen Draws through clipped region...
    ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... Exclude the rectangle from the graphics clip region. ... IF you use a pen that is more than one pixel the clipping works correctly. ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Form Shrinking due to Non Client area introduction
    ... Remember also that you don't need to change the rectangle size if WMParam is ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... of the Non Client area is 15 and 4 pixels border respectively. ...
    (microsoft.public.dotnet.languages.csharp)