another problem with patch

David Bateman adb014 at gmail.com
Wed Dec 12 02:14:14 CST 2007


John W. Eaton wrote:
> On 11-Dec-2007, Kai Habel wrote:
> 
> | 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?
> 
> I suggest asking on the gnuplot list.  If you'd like to send them
> precisely what Octave is sending to gnuplot so someone can maybe
> suggest how to draw the plot correctly, you can use
> 
>   drawnow ("x11", "/dev/null", "debug.gp")
> 
> after the plot is on the screen to save the sequence of gnuplot
> commands in the file debug.gp.
> 
> jwe


I believe that latest CVS needs

drawnow ("x11", "/dev/null", false, "debup.gp")

as drawnow has had the "mono" flag added.

D.



More information about the Bug-octave mailing list