another problem with patch
Kai Habel
kai.habel at gmx.de
Thu Dec 13 14:05:21 CST 2007
Petr Mikulik schrieb:
>> If you try the following:
>>
>> octave:53> phi=linspace(0,2*pi);
>> octave:54> patch(sin(phi),cos(phi),'r')
>> octave:55> axis([0 1 0 1])
>>
>> one would expect that a quarter of a circle should be drawn. It seems
>> that gnuplot drops all points outside of the plotting window, therefore
>> only a segment of a circle is drawn. Can this be handled in gnuplot
>> correctly?
>>
>
> Unfortunately no. Gnuplot can clip only points and lines, but not 2D
> polygons. (Implementation of clipping for gnuplot's filledcurves would be
> welcome.)
>
> ---
> PM
>
>
Hello Petr,
thanks for your 'insider' comment. In that case, I would say we have to
live with this problem at present.
Kai
More information about the Bug-octave
mailing list