LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to import data file into Matlab and plot it? (https://www.linuxquestions.org/questions/linux-software-2/how-to-import-data-file-into-matlab-and-plot-it-686464/)

lengyue 11-26-2008 04:26 PM

how to import data file into Matlab and plot it?
 
Dear all,

I have just installed Matlab under Linux, now I need use Matlab to plot my data file, the file name is ascat.out, there is three columns in this file, and 1024 rows. and I want use the first column as x axis,the second and third column as y axis, respectively, how to plot the two curves on one figure? If I have another file, whose dimension is same as the former, how to plot these two files on one figure. Thanks.

Yueling

ehawk 11-26-2008 09:00 PM

http://web.cecs.pdx.edu/~gerry/MATLA...ml#loadAndPlot

lengyue 11-29-2008 01:00 PM

Hi,ehawk,

Thanks, I got it.

Yueling


All times are GMT -5. The time now is 08:19 AM.