help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: The method of contourf fill


From: Jan Tosovsky
Subject: RE: The method of contourf fill
Date: Tue, 16 Sep 2014 22:10:09 +0200

On 2014-09-16 Dmitri A. Sergatskov wrote:
> On 2014-09-15 Jan Tosovsky wrote:
>
> > when exporting the following example into a vector graphic 
> > (PDF or PS), the final fill consist of narrow triangles, 
> > not two circles/polygons of the opposite direction as 
> > expected.
> >
> > clf;
> > colormap ('default');
> > x = linspace (-2, 2);
> > [x, y] = meshgrid (x);
> > z = sqrt (x.^2 + y.^2) ./ (x.^2 + y.^2 + 1);
> > contourf (x, y, z, [0.4, 0.4]);
> > title ('Hole should be filled with the background color');
> >
> > Any idea what to fix on my side?
> 
> ​Try using gnuplot backend
> 
> graphics_toolkit("gnuplot")
> 
> and so on.
> 

Thanks, now the results can be saved as EMF. As circles are provided as closed 
polygons, they are filled as expected, but they are not still joined into a 
single object (a polygon containing the hole). But this is rather cosmetic 
issue.

Jan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]