getNameValuePair

returns the value of a name-value-pair for plotting

Contents

Syntax

val = getNameValuePair(NVpairs,name)
val = getNameValuePair(NVpairs,name,defVal)

Description

This function takes a list of name-value-pairs specified by the user as additional options for a plot function (e.g. 'LineWidth',2) and returns the value of the selected option.

Input Arguments

NVpairs

cell-array storing the name-value-pairs passed to the plot function

name

string containing the name for the name-value-pair

defVal

default value if the name value pair is not specified by the user

Output Arguments

val

specified value for the name value pair

See Also

results, plotReach, plotReachTimePoint, plotSimulation


© 2018-2020 I6 Technische Universität München Website License

logoAroc logoCora logoChair logoTum