{
  "nbformat_minor": 0, 
  "nbformat": 4, 
  "cells": [
    {
      "execution_count": null, 
      "cell_type": "code", 
      "source": [
        "%matplotlib inline"
      ], 
      "outputs": [], 
      "metadata": {
        "collapsed": false
      }
    }, 
    {
      "source": [
        "\n# Triangle plot with multiple data sets by changing settings\n\n\nPlot good figures with multiple data sets using more settings.\n\n"
      ], 
      "cell_type": "markdown", 
      "metadata": {}
    }, 
    {
      "execution_count": null, 
      "cell_type": "code", 
      "source": [
        "import coplot.plot_contours as plc\nimport matplotlib.pyplot as plt\nimport numpy as np\n\n\ntest1 = np.random.randn(50000, 3)\ntest2 = test1 + 1\n\n\n# If you want to plot good figures, you should use it like this:\nfig = plc.Contours([test1,test2]).plot(bins=150,labels=[r'$a$', r'$b$', r'$c$'],\\\ncolors=['r','g'],line_styles=['-','--'],fill_contours=False, show_titles=True,\nsmooth=3,best_values=[[0,0,0],[1,1,1]],show_best_value_lines=True, ticks_size=10,\nlegend=True,legend_labels=['Data 1', 'Data 2'], subplots_adjust=False)\n# and you can save the figure like this:\n# pl.savefig('test_triangle_3.pdf', fig)\nplt.show()"
      ], 
      "outputs": [], 
      "metadata": {
        "collapsed": false
      }
    }
  ], 
  "metadata": {
    "kernelspec": {
      "display_name": "Python 2", 
      "name": "python2", 
      "language": "python"
    }, 
    "language_info": {
      "mimetype": "text/x-python", 
      "nbconvert_exporter": "python", 
      "name": "python", 
      "file_extension": ".py", 
      "version": "2.7.18", 
      "pygments_lexer": "ipython2", 
      "codemirror_mode": {
        "version": 2, 
        "name": "ipython"
      }
    }
  }
}