From 2a702a60090fb21d563c6ea4fe1759181c636040 Mon Sep 17 00:00:00 2001 From: Puneeth Chaganti Date: Wed, 13 Oct 2010 11:13:01 +0530 Subject: Getting started with strings LO - script and questions. --- getting-started-strings/quickref.tex | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 getting-started-strings/quickref.tex (limited to 'getting-started-strings/quickref.tex') diff --git a/getting-started-strings/quickref.tex b/getting-started-strings/quickref.tex new file mode 100644 index 0000000..b26d168 --- /dev/null +++ b/getting-started-strings/quickref.tex @@ -0,0 +1,8 @@ +Creating a linear array:\\ +{\ex \lstinline| x = linspace(0, 2*pi, 50)|} + +Plotting two variables:\\ +{\ex \lstinline| plot(x, sin(x))|} + +Plotting two lists of equal length x, y:\\ +{\ex \lstinline| plot(x, y)|} -- cgit