<< generate_tikz_strings Generate Tikz Strings handle_polylines >>

xs2tikz >> xs2tikz > Generate Tikz Strings > generate_value_string

generate_value_string

Return a string with %d/%s-interpreted value and optional option

Syntax

tikzString = generate_value_string(option [, value])

Parameters

option:

string with the LaTeX tag

value:

option will be set to this

Description

Generate a string with <option>=<value>. Value might be a string or a constant. If value is omitted, only option is written as string.

Examples

opt1 = "xmin";
value = 1;
ts1 = generate_value_string(opt1, value);

//Options can be given without a value
opt2 = "scale only axis"
ts2 = generate_value_string(opt2);

Authors


Report an issue
<< generate_tikz_strings Generate Tikz Strings handle_polylines >>