summaryrefslogtreecommitdiff
path: root/Tutorial02-Plots
diff options
context:
space:
mode:
authorChayan Bhawal2018-10-02 10:19:33 +0530
committerChayan Bhawal2018-10-02 10:19:33 +0530
commit3d0c890de4ac7d9afd576e889bd2624437d79c70 (patch)
tree10bf164ddb34ffcc5c4b059e2968990b4e472d2f /Tutorial02-Plots
parent6d39446c434cfcca02ae7a4551e2d66edf9def7f (diff)
downloadscilab-tutorials-3d0c890de4ac7d9afd576e889bd2624437d79c70.tar.gz
scilab-tutorials-3d0c890de4ac7d9afd576e889bd2624437d79c70.tar.bz2
scilab-tutorials-3d0c890de4ac7d9afd576e889bd2624437d79c70.zip
Renamed_files_relative_path
Diffstat (limited to 'Tutorial02-Plots')
-rw-r--r--Tutorial02-Plots/Problems/Tut02.pdf (renamed from Tutorial02-Plots/Problems/Tut2.pdf)bin29099 -> 29258 bytes
-rw-r--r--Tutorial02-Plots/Problems/Tut02.tex17
-rw-r--r--Tutorial02-Plots/Scilab_code/Tutorial2_multi_plotting.sce (renamed from Tutorial02-Plots/Scilab_code/Tutotial2_multi_plotting.sce)2
-rw-r--r--Tutorial02-Plots/Scilab_code/Tutorial2_plot_save.sce (renamed from Tutorial02-Plots/Scilab_code/Tutotial2_plot_save.sce)2
-rw-r--r--Tutorial02-Plots/Scilab_code/Tutorial2_plot_save_func.sce (renamed from Tutorial02-Plots/Scilab_code/Tutotial2_plot_save_func.sce)2
-rw-r--r--Tutorial02-Plots/Scilab_code/Tutorial2_plotting.sce (renamed from Tutorial02-Plots/Scilab_code/Tutotial2_plotting.sce)2
-rw-r--r--Tutorial02-Plots/Scilab_code/Tutorial2_semilog.sce2
7 files changed, 22 insertions, 5 deletions
diff --git a/Tutorial02-Plots/Problems/Tut2.pdf b/Tutorial02-Plots/Problems/Tut02.pdf
index ddc5da8..a159ad2 100644
--- a/Tutorial02-Plots/Problems/Tut2.pdf
+++ b/Tutorial02-Plots/Problems/Tut02.pdf
Binary files differ
diff --git a/Tutorial02-Plots/Problems/Tut02.tex b/Tutorial02-Plots/Problems/Tut02.tex
new file mode 100644
index 0000000..cc6caca
--- /dev/null
+++ b/Tutorial02-Plots/Problems/Tut02.tex
@@ -0,0 +1,17 @@
+\documentclass[10pt,a4paper]{article}
+\usepackage[utf8]{inputenc}
+\usepackage{amsmath}
+\usepackage{amsfonts}
+\usepackage{amssymb}
+\begin{document}
+\title{Problems for Tutorial-02: Scientific Plotting}
+\date{}
+\maketitle
+\begin{enumerate}
+\item Write a Scilab script to plot the data in Tut2Problem.csv.
+The first column is the x-axes data. Use proper legends and labels.
+(If required use semilog/loglog plot).
+\item Save a print quality pdf file of the figure generated. Name the
+file Tut2fig1.pdf.
+\end{enumerate}
+\end{document} \ No newline at end of file
diff --git a/Tutorial02-Plots/Scilab_code/Tutotial2_multi_plotting.sce b/Tutorial02-Plots/Scilab_code/Tutorial2_multi_plotting.sce
index ec5b193..cf89ab5 100644
--- a/Tutorial02-Plots/Scilab_code/Tutotial2_multi_plotting.sce
+++ b/Tutorial02-Plots/Scilab_code/Tutorial2_multi_plotting.sce
@@ -4,7 +4,7 @@ clc
exec change_plot_attribs.sci;
//Import data from file
-Data = csvRead('/home/chayan/Documents/scilab-tutorials/Tutorial2_Plot/Data/Tut2_data1.csv');
+Data = csvRead('../Data/Tut2_data1.csv');
//Segregate the data into variables
t = Data(:,1);
diff --git a/Tutorial02-Plots/Scilab_code/Tutotial2_plot_save.sce b/Tutorial02-Plots/Scilab_code/Tutorial2_plot_save.sce
index a3da8f3..40f02cd 100644
--- a/Tutorial02-Plots/Scilab_code/Tutotial2_plot_save.sce
+++ b/Tutorial02-Plots/Scilab_code/Tutorial2_plot_save.sce
@@ -3,7 +3,7 @@ clear
clc
//Import data from file
-Data = csvRead('/home/chayan/Documents/scilab-tutorials/Tutorial2_Plot/Data/Tut2_data1.csv');
+Data = csvRead('../Data/Tut2_data1.csv');
//Segregate the data into variables
t = Data(:,1);
diff --git a/Tutorial02-Plots/Scilab_code/Tutotial2_plot_save_func.sce b/Tutorial02-Plots/Scilab_code/Tutorial2_plot_save_func.sce
index d8f9963..c6a2883 100644
--- a/Tutorial02-Plots/Scilab_code/Tutotial2_plot_save_func.sce
+++ b/Tutorial02-Plots/Scilab_code/Tutorial2_plot_save_func.sce
@@ -5,7 +5,7 @@ clc
exec change_plot_attribs.sci;
//Import data from file
-Data = csvRead('/home/chayan/Documents/scilab-tutorials/Tutorial2_Plot/Data/Tut2_data1.csv');
+Data = csvRead('../Data/Tut2_data1.csv');
//Segregate the data into variables
t = Data(:,1);
diff --git a/Tutorial02-Plots/Scilab_code/Tutotial2_plotting.sce b/Tutorial02-Plots/Scilab_code/Tutorial2_plotting.sce
index 5494863..a8c6b64 100644
--- a/Tutorial02-Plots/Scilab_code/Tutotial2_plotting.sce
+++ b/Tutorial02-Plots/Scilab_code/Tutorial2_plotting.sce
@@ -3,7 +3,7 @@ clear
clc
//Import data from file
-Data = csvRead('/home/chayan/Documents/scilab-tutorials/Tutorial2_Plot/Data/Tut2_data1.csv');
+Data = csvRead('../Data/Tut2_data1.csv');
//Segregate the data into variables
t = Data(:,1);
diff --git a/Tutorial02-Plots/Scilab_code/Tutorial2_semilog.sce b/Tutorial02-Plots/Scilab_code/Tutorial2_semilog.sce
index 9acc3a6..6aa73cf 100644
--- a/Tutorial02-Plots/Scilab_code/Tutorial2_semilog.sce
+++ b/Tutorial02-Plots/Scilab_code/Tutorial2_semilog.sce
@@ -4,7 +4,7 @@ clc
exec change_plot_attribs.sci;
//Import data from file
-Data = csvRead('/home/chayan/Documents/scilab-tutorials/Tutorial2_Plot/Data/Tut2_data1.csv');
+Data = csvRead('../Data/Tut2_data1.csv');
//Segregate the data into variables
y = Data(:,1);