Quanlse/Utils/Plot.py
def plotIonPosition(ionPos: List[Any]) -> None:
    """
    Plot the position of the ion in the equilibrium.

    :param ionPos: the positions of the ions.
    :return: None
    """
    plt.figure()
    plt.scatter(numpy.array(ionPos), numpy.zeros(numpy.size(ionPos)), s=100)
    plt.title('Ions equilibrium position', fontsize='large', fontweight='bold')

    font2 = {'family': 'Times New Roman',
             'weight': 'bold',
             'size': 15,
             }
    plt.xlabel(r'Z axial ($\mu$m)', font2)
    plt.ylabel('XY plane', font2)
    ax = plt.gca()
    ax.spines['bottom'].set_linewidth(2)
    ax.spines['left'].set_linewidth(2)
    ax.spines['right'].set_linewidth(2)
    ax.spines['top'].set_linewidth(2)
    plt.tick_params(labelsize=15)
    plt.show()

    Plot the position of the ion in the equilibrium.

    :param ionPos: the positions of the ions.
    :return: None
    
Plot the position of the ion in the equilibrium.
Plot the position of the ion in the equilibrium .
def plotIonPosition(ionPos: List[Any]) -> None:
    plt.figure()
    plt.scatter(numpy.array(ionPos), numpy.zeros(numpy.size(ionPos)), s=100)
    plt.title('Ions equilibrium position', fontsize='large', fontweight='bold')
    font2 = {'family': 'Times New Roman',
             'weight': 'bold',
             'size': 15,
             }
    plt.xlabel(r'Z axial ($\mu$m)', font2)
    plt.ylabel('XY plane', font2)
    ax = plt.gca()
    ax.spines['bottom'].set_linewidth(2)
    ax.spines['left'].set_linewidth(2)
    ax.spines['right'].set_linewidth(2)
    ax.spines['top'].set_linewidth(2)
    plt.tick_params(labelsize=15)
    plt.show()
def plotIonPosition ( ionPos : List [ Any ] ) -> None : plt . figure ( ) plt . scatter ( numpy . array ( ionPos ) , numpy . zeros ( numpy . size ( ionPos ) ) , s = 100 ) plt . title ( 'Ions equilibrium position' , fontsize = 'large' , fontweight = 'bold' ) font2 = { 'family' : 'Times New Roman' , 'weight' : 'bold' , 'size' : 15 , } plt . xlabel ( r'Z axial ($\mu$m)' , font2 ) plt . ylabel ( 'XY plane' , font2 ) ax = plt . gca ( ) ax . spines [ 'bottom' ] . set_linewidth ( 2 ) ax . spines [ 'left' ] . set_linewidth ( 2 ) ax . spines [ 'right' ] . set_linewidth ( 2 ) ax . spines [ 'top' ] . set_linewidth ( 2 ) plt . tick_params ( labelsize = 15 ) plt . show ( )
Plot the position of the ion in the equilibrium.
Plot the position of the ion in the equilibrium .
"""
    Plot the position of the ion in the equilibrium.

    :param ionPos: the positions of the ions.
    :return: None
    """
None
ionPos
List[Any]
the positions of the ions.
the positions of the ions .