# HG changeset patch # User Amit Sethi # Date 1289499039 -19800 # Node ID fd3902300f202a37a72a2594f6150cdd73d0b865 # Parent ac1198488c0e6a341762a9eb1fa968ea281dbc1d Adding plotting data quickref diff -r ac1198488c0e -r fd3902300f20 plotting-data/quickref.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plotting-data/quickref.tex Thu Nov 11 23:40:39 2010 +0530 @@ -0,0 +1,15 @@ +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.') |} +