<< generate_color_string Generate Tikz Strings generate_nested_string >>

xs2tikz >> xs2tikz > Generate Tikz Strings > generate_dimension_string

generate_dimension_string

Return a matrix of dimension strings

Syntax

tikzString = generate_dimension_string(option, value)

Parameters

option:

string like width or height

value:

a pixel value

Description

Recalculates value from pixel to cm and returns a matrix of strings in the form <option>=<value>cm for width and height seperately.

Examples

x = 360; y = 590;
ts = generate_dimension_string(x, y);

Authors


Report an issue
<< generate_color_string Generate Tikz Strings generate_nested_string >>