blob: f16018c319ba843e7b047451bf777e8d8c25bd25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
//This script demonstrate plotting in Scilab
clear
clc
//Import data from file
Data = csvRead('/home/chayan/Documents/scilab-tutorials/Tutorial2_Plot/Data/Tut2_data1.csv');
//Segregate the data into variables
y = Data(:,1);
x1 = Data(:,2);
x2 = Data(:,3);
x3 = Data(:,4);
x4 = Data(:,5);
//Plotting y versus x1
plot(y,x1);
|