This preview shows page 1. Sign up to view the full content.
Unformatted text preview: %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 magenta with a regular lines connecting the data; creates a 2D plot %with the specified data indexed, and then makes the color black with the %coordinates replaced with an o xlabel('x-axis'); %labels the x-axis ylabel('y-axis'); %labels the y-axis title('Graph for csv2plot'); %gives the graph a title 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 Tech.
- Spring '08