new_contents: #!/usr/bin/env python3
  # -*- coding: utf-8 -*-
  r"""
   #        .---.         .-----------
   #       /     \  __  /    ------
   #      / /     \(  )/    -----   (`-')  _ _(`-')              <-. (`-')_
   #     //////    '\/ `   ---      ( OO).-/( (OO ).->     .->      \( OO) )     .->
   #    //// / //  :   : ---      (,------. \    .'_ (`-')----. ,--./ ,--/  ,--.'  ,-.
   #   // /   /  / `\/ '--         |  .---' '`'-..__)( OO).-. ' |   \ |  | (`-')'.'  /
   #  //          //..\\          (|  '--.  |  |  ' |( _) | | | |  . '|  |)(OO \    /
   # ============UU====UU====      |  .--'  |  |  / : \|  |)| | |  |\    |  |  /   /)
   #             '//||\\`          |  `---. |  '-'  /  '  '-' ' |  | \   |  `-/   /`
   #               ''``            `------' `------'    `-----' `--'  `--'    `--'
   # ######################################################################################
   #
   # Author: edony - edonyzpc@gmail.com
   #
   # twitter : @edonyzpc
   #
   # Last modified: 2015-12-18 00:01
   #
   # Filename: ransac_prec.py
   #
   # Description: All Rights Are Reserved
   #
  """
  #import scipy as sp
  #import math as m
  #import matplotlib as mpl
  import matplotlib.pyplot as plt
  #from mpl_toolkits.mplot3d import Axes3D as Ax3
  #from scipy import stats as st
  #from matplotlib import cm
  import numpy as np
  
  class PyColor(object):
      """ This class is for colored print in the python interpreter!
      "F3" call Addpy() function to add this class which is defined
      in the .vimrc for vim Editor."""
      def __init__(self):
          self.self_doc = r"""
          STYLE: \033['display model';'foreground';'background'm
          DETAILS:
          FOREGROUND        BACKGOUND       COLOR
          ---------------------------------------
          30                40              black
          31                41              red
          32                42              green
          33                43              yellow
          34                44              blue
          35                45              purple
          36                46              cyan
          37                47              white
          DISPLAY MODEL    DETAILS
          -------------------------
          0                default
          1                highlight
          4                underline
          5                flicker
          7                reverse
          8                non-visiable
          e.g:
          \033[1;31;40m   <!--1-highlight;31-foreground red;40-background black-->
          \033[0m         <!--set all into default-->
          """
          self.warningcolor = '\033[0;31m'
          self.tipcolor = '\033[0;32m'
          self.endcolor = '\033[0m'
          self._newcolor = ''
      @property
      def new(self):
          """
          Customized Python Print Color.
          """
          return self._newcolor
      @new.setter
      def new(self, color_str):
          """
          New Color.
          """
          self._newcolor = color_str
      def disable(self):
          """
          Disable Color Print.
          """
          self.warningcolor = ''
          self.endcolor = ''
  
  
  fig = plt.figure('Precision VS Iterations')
  ax = fig.add_subplot(111)
  ax1 = fig.add_subplot(111)
  x = np.arange(3000, 18000, 160)
  y3 = 100000.0/(3*(x**2)) + 0.035#plane
  y3 = [i+np.random.normal(-0.02, 0.04)/185.0 for i in y3]
  ax.plot(x, y3, color='cyan')
  ax.set_xlabel("Iterations")
  ax.set_ylabel("Model Precision")
  ax.set_ylim(0.025, 0.045)
  x_p = [6040, 16120]
  pos = [list(x).index(6040), list(x).index(16120)]
  ax1.scatter(x_p[0], y3[pos[0]], c='r', marker='v',s=40, label='Local Optimize')
  ax1.scatter(x_p[1], y3[pos[1]], c='g', marker='s',s=40, label='Global Optimize')
  plt.grid(True)
  plt.legend()
  plt.show()
  
subject: add precision and iteration plot code