Skip to content

Commit f09b6a6

Browse files
committed
Added parallel coordinates documentation
1 parent b74a7ce commit f09b6a6

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

doc/source/visualization.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,27 @@ of the same class will usually be closer together and form larger structures.
284284
@savefig andrews_curves.png width=6in
285285
andrews_curves(data, 'Name')
286286
287+
Parallel Coordinates
288+
~~~~~~~~~~~~~~~~~~~~
289+
290+
Parallel coordinates is a plotting technique for plotting multivariate data.
291+
It allows one to see clusters in data and to estimate other statistics visually.
292+
Using parallel coordinates points are represented as connected line segments.
293+
Each vertical line represents one attribute. One set of connected line segments
294+
represents one data point. Points that tend to cluster will appear closer together.
295+
296+
.. ipython:: python
297+
298+
from pandas import read_csv
299+
from pandas.tools.plotting import parallel_coordinates
300+
301+
data = read_csv('data/iris.data')
302+
303+
plt.figure()
304+
305+
@savefig parallel_coordinates.png width=6in
306+
parallel_coordinates(data, 'Name')
307+
287308
Lag Plot
288309
~~~~~~~~
289310

0 commit comments

Comments
 (0)