[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## plot errorbars workaround

**From**: |
Daniel Kottow |

**Subject**: |
plot errorbars workaround |

**Date**: |
Thu, 02 Mar 2000 10:01:14 +0100 |

"John W. Eaton" wrote:
>* *
>* On 1-Mar-2000, Daniel Kottow <address@hidden> wrote:*
>* *
>* | hi, i am trying to make a plot of errorbars using the plot command.*
>* | i think i have tried all ways, but i always get the same error:*
>* | error: invalid number of data columns = 2 specified for plot style*
>* | `errorbars'*
>* | i looked at the gnuplot web-site and i thought something like the*
>* | following should work:*
>* | x = [1 2 3 4]*
>* | y = [2 3 3 4;0 1 0 1;3 2 1.5 2.5]*
>* | (where i wanted y(1,:) to be a mean value and*
>* | y(2,:) y(3,:) min and max values of a function z(x))*
>* | and called plot(x,y,"~")*
>* | but it doesn't work. anyone there to help?*
>* *
>* It's a bug. The workaround is to save your data to a file, then use*
>* gnuplot directly instead of using Octave's plot interface.*
>* *
>* jwe*
i have found an easier way around using gplot.
if you define
xy = [x;y]
than u can use th efollowing:
gplot xy with errorbars
dk
-----------------------------------------------------------------------
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
-----------------------------------------------------------------------

**plot errorbars**, *Daniel Kottow*, `2000/03/01`
*Message not available*
**plot errorbars workaround**,
*Daniel Kottow* **<=**