ideal_gases.py
def plot_3d(volume_matrix,
            temperature_matrix,
            pressure_matrix,
            labels=['Volume / m3', 'Temperature / K', 'Pressure / Pa'],
            step=10):
    """3D plot for pressure, volume and temperature of an ideal gas.

        Parameters
        ----------
        volume_matrix : ndarray
            volume matrix
        temperature_matrix : ndarray
            temperature matrix
        pressure_matrix : ndarray
            pressure matrix
        labels : list, optional
            Axes labels, by default ['Volume / m3', 'Temperature / K',
            'Pressure / Pa']
        step : int, optional
            line separation
    """
    ax = plt.gca()  # gca = get current axis
    ax.set_xlabel(labels[0])
    ax.set_ylabel(labels[1])
    ax.set_zlabel(labels[2])
    ax.plot_wireframe(volume_matrix, temperature_matrix,
                      pressure_matrix, rstride=step, cstride=step)
3D plot for pressure, volume and temperature of an ideal gas.

        Parameters
        ----------
        volume_matrix : ndarray
            volume matrix
        temperature_matrix : ndarray
            temperature matrix
        pressure_matrix : ndarray
            pressure matrix
        labels : list, optional
            Axes labels, by default ['Volume / m3', 'Temperature / K',
            'Pressure / Pa']
        step : int, optional
            line separation
    
3D plot for pressure, volume and temperature of an ideal gas.
Parameters


3D plot for pressure volume and temperature of an ideal gas . Parameters
def plot_3d(volume_matrix,
            temperature_matrix,
            pressure_matrix,
            labels=['Volume / m3', 'Temperature / K', 'Pressure / Pa'],
            step=10):
    ax = plt.gca()  
    ax.set_xlabel(labels[0])
    ax.set_ylabel(labels[1])
    ax.set_zlabel(labels[2])
    ax.plot_wireframe(volume_matrix, temperature_matrix,
                      pressure_matrix, rstride=step, cstride=step)
def plot_3d ( volume_matrix , temperature_matrix , pressure_matrix , labels = [ 'Volume / m3' , 'Temperature / K' , 'Pressure / Pa' ] , step = 10 ) : ax = plt . gca ( ) ax . set_xlabel ( labels [ 0 ] ) ax . set_ylabel ( labels [ 1 ] ) ax . set_zlabel ( labels [ 2 ] ) ax . plot_wireframe ( volume_matrix , temperature_matrix , pressure_matrix , rstride = step , cstride = step )
3D plot for pressure, volume and temperature of an ideal gas.
3D plot for pressure volume and temperature of an ideal gas .
"""3D plot for pressure, volume and temperature of an ideal gas.

        Parameters
        ----------
        volume_matrix : ndarray
            volume matrix
        temperature_matrix : ndarray
            temperature matrix
        pressure_matrix : ndarray
            pressure matrix
        labels : list, optional
            Axes labels, by default ['Volume / m3', 'Temperature / K',
            'Pressure / Pa']
        step : int, optional
            line separation
    """ # gca = get current axis
volume_matrix
temperature_matrix
pressure_matrix
labels
step