From bug-octave-request at bevo dot che dot wisc dot edu Wed Dec 22 11:04:09 1999 Subject: Unidentified subject! From: "John W. Eaton" To: Cyril Humbert Cc: bug-octave at bevo dot che dot wisc dot edu, humbertc@univ-mlv.fr Date: Wed, 22 Dec 1999 11:03:50 -0600 (CST) On 22-Dec-1999, Cyril Humbert wrote: | To: bug-octave at bevo dot che dot wisc dot edu | Cc: humbertc at univ-mlv dot fr | Subject: plot(x1,y1, x2,y2) sometimes plots only the 1st curve | | Bug report for Octave 2.0.14 configured for i386-redhat-linux-gnu | | Description: | ----------- | | It's just strange but not really annoying... | plot(x1,y1, x2,y2) sometimes plots only the 1st of the two curves. | | Repeat-By: | --------- | | GNU Octave, version 2.0.14 (i386-redhat-linux-gnu). | Copyright (C) 1996, 1997, 1998, 1999 John W. Eaton. | This is free software with ABSOLUTELY NO WARRANTY. | For details, type `warranty'. | | octave:1> theta = 72 * pi / 180; | octave:2> x1 = cos (theta/2 + theta*[0:5]); | octave:3> y1 = sin (theta/2 + theta*[0:5]); | octave:4> x2 = cos (theta*[0:5]); | octave:5> y2 = sin (theta*[0:5]); | octave:6> plot (x1, y1, "-r", x2, y2, "-b") | | At the _1st_ call of plot, only the _1st_ curve (x1, y1) is drawn. | Generally it's ok after a `replot'. | | | cat $HOME/.octaverc | ------------------- | [../..] | do_fortran_indexing = 1; | automatic_replot = 0; | gnuplot_has_frames = 1; | gnuplot_has_multiplot = 1; | | gnuplot | ------- | G N U P L O T | Linux version 3.7 | patchlevel 0.2 | last modified Wed Aug 18 14:06:10 CEST 1999 I think this is a bug in gnuplot. You can either try to use the patch that I created for this problem (look on the News page on the Octave web site for a link) or upgrade to gnuplot 3.7.1, which I think also includes a fix (finally!). jwe ----------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.che.wisc.edu/octave/octave.html How to fund new projects: http://www.che.wisc.edu/octave/funding.html Subscription information: http://www.che.wisc.edu/octave/archive.html -----------------------------------------------------------------------