plotting-data/quickref.tex
author Amit Sethi
Thu, 11 Nov 2010 23:40:39 +0530
changeset 485 fd3902300f20
permissions -rw-r--r--
Adding plotting data quickref

Creating a Sequence:\\
{\ex \lstinline|   L = [0.1, 0.2, 0.3] |}

Squaring a sequence:\\
{\ex \lstinline|   tsquare=square(t) |}

Plotting two list using small dots:\\
{\ex \lstinline|    plot(L,tsquare,'.') |}

Plotting two list using big dots:\\
{\ex \lstinline|    plot(L,tsquare,'o') |}

Plotting an errorbar in blue color:\\
{\ex \lstinline|    errorbar(L,tsquare,xerr=delta_L, yerr=delta_T, fmt='b.') |}