tikzTranslator

Module Contents

Functions

Attributes

templates_tikz
format_escape_char(theStr)[source]
convert_linestyle(linestyle)[source]
find_all_colors(theGraphs)[source]
convert_marker(marker)[source]
do_preamble()[source]
do_generate_figure()[source]
do_specific_axis_options(theGraph: optimeed.core.graphs.Graph)[source]

Get graph-specific axis options

do_specific_trace_options(theTrace: optimeed.core.graphs.Data, theColor)[source]

Get latex trace options from Data

export_to_tikz_groupGraphs(theGraphs: optimeed.core.graphs.Graphs, foldername, additionalPreamble=lambda: '', additionalAxisOptions=lambda graphId: '', additionalTraceOptions=lambda graphId, traceId: '', debug=False)[source]

Export the graphs as group

Parameters:
  • theGraphs – Graphs to save
  • foldername – Foldername to save
  • additionalPreamble – method that returns string for custom tikz options
  • additionalAxisOptions – method that returns string for custom tikz options
  • additionalTraceOptions – method that returns string for custom tikz options
Returns:

do_preamble3D()[source]
format_Griddata(X, Y, Z)[source]
format_scatterdata(x, y, z)[source]
export_to_tikz_contour_plot(list_of_traces3, foldername, filename_data='data')[source]

Export the graphs as group

Parameters:
  • list_of_traces3 – List of 3D traces
  • foldername – Foldername to save
  • filename_data – filename of the data
Returns: