<< add_legendentry Generate Tikz Strings add_preambel >>

xs2tikz >> xs2tikz > Generate Tikz Strings > add_options

add_options

Generate necessary options for TikZ

Syntax

tikzStrings = add_options(env, index, attributes)

Parameters

env:

a string resembling the targeted environment for options

index:

constant for accessing the indexed element of attributes

attributes:

struct containing plot information

tikzStrings:

column vector containing generated strings

Description

Generate a bunch of strings in a column vector containing all the necessary options for displaying data in the given environment. Env can be: axis addplot

Examples

choose_plot_example("simple");
attributes = gather_graphic_attributes();
tikzStrings = add_options("axis", 1, attributes)

Authors


Report an issue
<< add_legendentry Generate Tikz Strings add_preambel >>