another problem with patch
John W. Eaton
jwe at bevo.che.wisc.edu
Tue Dec 11 14:40:02 CST 2007
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
More information about the Bug-octave
mailing list