.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "examples/dataset/plot_parallel_coordinates.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note Click :ref:`here ` to download the full example code .. rst-class:: sphx-glr-example-title .. _sphx_glr_examples_dataset_plot_parallel_coordinates.py: Plot - Parallel coordinates =========================== .. GENERATED FROM PYTHON SOURCE LINES 28-38 .. code-block:: default from __future__ import absolute_import, division, print_function, unicode_literals from future import standard_library from gemseo.api import configure_logger, load_dataset configure_logger() standard_library.install_aliases() .. GENERATED FROM PYTHON SOURCE LINES 39-41 Load a dataset -------------- .. GENERATED FROM PYTHON SOURCE LINES 41-43 .. code-block:: default iris = load_dataset("IrisDataset") .. GENERATED FROM PYTHON SOURCE LINES 44-51 Plot parallel coordinates ~~~~~~~~~~~~~~~~~~~~~~~~~ We can use the :class:`~gemseo.post.dataset.parallel_coordinates.ParallelCoordinates` plot, a.k.a. cowebplot, where each samples is represented by a continuous straight line in pieces whose nodes are indexed by the variables names and measure the variables values. .. GENERATED FROM PYTHON SOURCE LINES 51-52 .. code-block:: default iris.plot("ParallelCoordinates", classifier="specy") .. image:: /examples/dataset/images/sphx_glr_plot_parallel_coordinates_001.png :alt: plot parallel coordinates :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out Out: .. code-block:: none .. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 0.377 seconds) .. _sphx_glr_download_examples_dataset_plot_parallel_coordinates.py: .. only :: html .. container:: sphx-glr-footer :class: sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_parallel_coordinates.py ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_parallel_coordinates.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_