|
Re: subplot/semilogy error: msg#00039gnu.octave.bugs
On 24-Apr-2005, Stefan van der Walt <stefan@xxxxxxxxx> wrote: | It works here after I set | | automatic_replot = 0 | | Regards | Stefan | | On Fri, Apr 22, 2005 at 06:49:57AM -0500, Karsten Trulsen wrote: | > | > Bug report for Octave 2.1.69 configured for i686-pc-linux-gnu | > | > Description: | > ----------- | > | > The sequence of commands below produces two plots. | > The lower plot contains the graph of the upper plot, | > which it should not. | > | > Repeat-By: | > --------- | > | > subplot(2,1,1) | > axis ([0 2 0 3]) | > plot ([0 1], [1 1], 'b') | > | > subplot(2,1,2) | > axis([0 2 0.1 3]) | > semilogy ([0 2], [1 2], 'r') I think the way to fix this problem is to modify the internal plotting routines to count the lines in each subplot area. Then we can know to avoid issuing a replot command before any lines have been drawn in a subplot area. There should probably also be one of these count variables for each plot window. Currently, we only keep an overall line count for all plots in all windows. jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: delaunay: 00039, Rafael Laboissiere |
|---|---|
| Next by Date: | Re: __gnuplot_replot__ fails in octave-2.1.69: 00039, John W. Eaton |
| Previous by Thread: | Re: subplot/semilogy errori: 00039, Stefan van der Walt |
| Next by Thread: | Infinite loop of malloc Double: 00039, Hamish Allan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |