[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Help-octave Digest, Vol 42, Issue 28
From: |
martin_helm |
Subject: |
RE: Help-octave Digest, Vol 42, Issue 28 |
Date: |
Sun, 13 Sep 2009 05:44:01 -0700 (PDT) |
dastew wrote:
>
>
> In octave do
>
> pwd
>
> (present working directory pwd)
>
> this is where octave will look for the file, so copy the data file to
> there and then octave will find it.
>
> Doug
>
>
>
> Date: Sun, 13 Sep 2009 16:59:33 +0530
> Subject: Re: Help-octave Digest, Vol 42, Issue 28
> From: address@hidden
> To: address@hidden
>
> thanks.
>
> i am saving the output data of c program in data file named data.dat
> now to load the file into octave, octave will need to know where the file
> is.
> how i should tell octave where to find it
> i saw the help on load, but it is not giving this info.
>
>
> regards,
> Johny
>
> On Sun, Sep 13, 2009 at 4:39 PM, <address@hidden> wrote:
>
>
>
>
>
>
> One way to do it is to write the data to a text file, and then use the
> load command in octave to read the data from the file, and then plot it in
> octave.
>
> Doug
>
> Date: Sun, 13 Sep 2009 16:29:30 +0530
> Subject: Re: Help-octave Digest, Vol 42, Issue 28
>
> From: address@hidden
> To: address@hidden
>
>
> 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
>
>
>
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
>
If you do not want to copy the file by hand you can load also tell to use a
path
for example
load -ascii "/path/to/datafile/data.dat"
plot(data(1,:), data(2,:))
- mh
--
View this message in context:
http://www.nabble.com/Re%3A-Help-octave-Digest%2C-Vol-42%2C-Issue-28-tp25422282p25422926.html
Sent from the Octave - General mailing list archive at Nabble.com.