def createPlotMetaData(
    title, xLabel, yLabel, xMajorTicks=None, yMajorTicks=None, legendLabels=None
):
    """
    Create plot metadata (title, labels, ticks)

    Parameters
    ----------
    title : str
        Plot title

    xLabel : str
        x-axis label

    yLabel : str
        y-axis label

    xMajorTicks : list of float
        List of axial position at which to insert major ticks

    yMajorTicks : list of float
        List of axial position at which to insert major ticks

    legendsLabels : list of str
        Labels to used in the plot legend

    Returns
    -------
    metadata : dict
        Dictionary with all plot metadata information

    """
    metadata = {}

    metadata["title"] = title
    metadata["xlabel"] = xLabel
    metadata["ylabel"] = yLabel
    metadata["xMajorTicks"] = xMajorTicks
    metadata["yMajorTicks"] = yMajorTicks
    metadata["legendLabels"] = legendLabels

    return metadata