help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Plotting directly from a file


From: Amit Saha
Subject: Re: Plotting directly from a file
Date: Sat, 20 Mar 2010 14:46:38 +0530
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Jordi Gutiérrez Hermoso wrote:
On 19 March 2010 03:18, Amit Saha <address@hidden> wrote:
Is there a direct way to read the X,Y (and Z) values directly from a
file for plotting with the 'plot' command?

That depends entirely on how they are stored in the file, but if
they're plain text and three columns and no extraneous formatting,

     Z = load("file");

should load the file into an n by 3 matrix Z.

I couldn't recall this command before seeing your reply. Thanks a lot!

Best,
Amit

--
Journal: http://amitksaha.wordpress.com
µ-blog: http://twitter.com/amitsaha
IRC: cornucopic on #scheme, #lisp, #math, #linux


reply via email to

[Prev in Thread] Current Thread [Next in Thread]