def set_ax_param(ax, x_title = None, y_title = None, x_lim = None, y_lim = None, x_labels = True, y_labels = True, grid = True):
from matplotlib.font_manager import FontProperties;<EOL>from matplotlib import rcParams;<EOL>if (_platform == "<STR_LIT>") or (_platform == "<STR_LIT>"):<EOL><INDENT>rcParams['<STR_LIT>'] = ['<STR_LIT>'];<EOL><DEDENT>else:<EOL><INDENT>rcParams['<STR_LIT>'] = ['<STR_LIT>'];<EOL><DEDENT>rcParams['<STR_LIT>'] = <NUM_LIT:12>;<EOL>surface_font = FontProperties();<EOL>if (_platform == "<STR_LIT>") or (_platform == "<STR_LIT>"):<EOL><INDENT>surface_font.set_name('<STR_LIT>');<EOL><DEDENT>else:<EOL><INDENT>surface_font.set_name('<STR_LIT>');<EOL><DEDENT>surface_font.set_size('<STR_LIT>');<EOL>if (y_title is not None): ax.set_ylabel(y_title, fontproperties = surface_font);<EOL>if (x_title is not None): ax.set_xlabel(x_title, fontproperties = surface_font);<EOL>if (x_lim is not None): ax.set_xlim(x_lim[<NUM_LIT:0>], x_lim[<NUM_LIT:1>]);<EOL>if (y_lim is not None): ax.set_ylim(y_lim[<NUM_LIT:0>], y_lim[<NUM_LIT:1>]);<EOL>if (x_labels is False): ax.xaxis.set_ticklabels([]);<EOL>if (y_labels is False): ax.yaxis.set_ticklabels([]);<EOL>ax.grid(grid)<EOL>
!
    @brief Sets parameters for matplotlib ax.

    @param[in] ax (Axes): Axes for which parameters should applied.
    @param[in] x_title (string): Title for Y.
    @param[in] y_title (string): Title for X.
    @param[in] x_lim (double): X limit.
    @param[in] y_lim (double): Y limit.
    @param[in] x_labels (bool): If True - shows X labels.
    @param[in] y_labels (bool): If True - shows Y labels.
    @param[in] grid (bool): If True - shows grid.