diff --git a/README.md b/README.md
index 44fefb0..f08f2ee 100644
--- a/README.md
+++ b/README.md
@@ -35,3 +35,28 @@ Removes all plots from screen.
 Deletes variable `P2`.
 
 More commands are available from the onscreen help box.
+
+
+Example
+-------
+
+Copy this into the input box.
+
+    set P1=[1,-1,0]
+    set P2=P1+[1,0,0]
+    set P3=P1+[1,-1,0]
+    set P4=P1-[0,1,0]
+    set P5=P1+[0,0,1]
+    set P6=P2+[0,0,1]
+    set P7=P3+[0,0,1]
+    set P8=P4+[0,0,1]
+    plotdel all
+    plotL P1;P2
+    plotL P1;P4
+    plotL P2;P3
+    plotL P3;P4
+    plotL P1;P5
+    plotL P2;P6
+    plotL P3;P7
+    plotL P5;P6
+    plotL P6;P7
diff --git a/vect.php b/vect.php
index 072a745..7c30b49 100644
--- a/vect.php
+++ b/vect.php
@@ -907,6 +907,10 @@ echo '">Debug ' . ((isset($_GET['dbg']))?'off':'on') . '</a>';
 		<td><tt>set <i>idx</i>=<i>equation</i></tt></td>
 		<td>sets variable <i>idx</i> to the result of <i>equation</i></td>
 	</tr>
+	<tr>
+		<td><tt>set <i>idx</i>=[1,2,3]</tt></td>
+		<td>sets variable <i>idx</i> to vector (1, 2, 3)</td>
+	</tr>
 	<tr>
 		<td><tt>unset <i>idx</i></tt></td>
 		<td>deletes variable <i>idx</i></td>