On Sun, Sep 13, 2009 at 5:24 PM, Martin Helm
<address@hidden> wrote:
Am Sonntag, 13. September 2009 12:59:30 schrieb johny gaddar:
> Hello
>
> i am new user to octave
>
> i have a c program whose output which is two colums of data should be
> plotted by octave as X and Y
> i am using red hat machine.
>
> any suggestions are appreciated.
>
> regards
> Johny
Dear Johny,
from your description I asume that your program creates some file which you
want to read in octave to plot it (is that correct).
Can you provide a simple example of such file to see the format of the numbers
how they are delimited and if the file contains some header?
Then I can give you a hint how to read and display it.
In general you can for example look at csvread and similar functions
help csvread
`csvread' is a function from the file /usr/share/octave/3.2.0/m/io/csvread.m
-- Function File: X = csvread (FILENAME)
Read the matrix X from a file.
This function is equivalent to
dlmread (FILENAME, "," , ...)
See also: dlmread, dlmwrite, csvwrite
- mh