Skip to content

plotxy

esta.plot.plotxy

get_plot(*args, markersize=None, xLabel=None, yLabel=None, Title=None, fileout=None)

plot data in the form of single or multiple plots

Parameters:

  • args (keyword argumets, default: () ) –

    args contains x, y, marker, linestyle, and color; marker, linestyle and color are optional

  • markersize (scalar, default: None ) –

    size of marker, optional

  • xLabel (str, default: None ) –

    x label, optional

  • yLabel (str, default: None ) –

    y label, optional

  • Title (str, default: None ) –

    Title, optional

  • fileout (str, default: None ) –

    name of the output file

Returns:

  • fileout.png file as output

get_plot_multiple(*args, ylimits=None, markersize=None, llegend=None, xLabel=None, yLabel=None, Title=None, fileout=None)

plot multiple data in a single plot by making multiple calls to this method

Parameters:

  • args (keyword argumets, default: () ) –

    args contains x, y, marker, linestyle, and color; marker, linestyle, and color are optional and for single plot only

  • ylimits (list, default: None ) –

    scalars for min and max y limits, optional, but better input the limits

  • markersize (scalar, default: None ) –

    size of marker, optional

  • llegend (list, default: None ) –

    a list of labels for the legends, optional

  • xLabel (str, default: None ) –

    x label, optional

  • yLabel (str, default: None ) –

    y label, optional

  • Title (str, default: None ) –

    Title, optional

  • fileout (str, default: None ) –

    name of the output file

Returns:

  • fileout.png file as output

get_plot1(*args, markersize=None, xLabel=None, yLabel=None, Title=None, fileout=None)

plot data in the form of single or multiple plots