This preview shows page 1. Sign up to view the full content.
Unformatted text preview: %from the second set of data (do not connect them with a line). data = csvread(fn); %reads in the comma-separated file and stores the numeric data [r c] = size(data); %finds the number of rows and columns of the data plot(data(:,1),data(:,2),'m',data(:,3),data(:,4),'ko'); %creates a 2D plot with the specified data indexed, and then makes the %color black and the coordinates an o xlabel('x-axis'); %labels the ylabel('y-axis'); title('Graph for csv2plot'); end...
View Full Document
This note was uploaded on 10/21/2010 for the course CS 1371 taught by Professor Stallworth during the Spring '08 term at Georgia Institute of Technology.
- Spring '08