<< Gather Graphic Attributes Gather Graphic Attributes create_figure_struct >>

xs2tikz >> xs2tikz > Gather Graphic Attributes > create_axes_struct

create_axes_struct

Create a struct for each axes found and add necessary data to it

Syntax

axes = create_axes_struct(figure)

Parameters

figure:

figure handle

axes:

struct with axes data

Description

Creates a struct for each axes in figure and add the following fields: .handle: axis handle .visible: axis visibility (on|off) .associated_legend: legend handle bound to this axis .children: handle of the axis' children .x_bounds: a row-vector with upper and lower x axis bound .y_bounds: a row-vector with upper and lower y axis bound .x_label: string with x label .y_label: string with y label .color.background: string with color name for axis backround .color.x_label_background: string with color name for x label background .color.y_label_background: string with color name for y label background .color.x_label_foreground: string with color name for x label foreground .color.y_label_foreground: string with color name for y label foreground .title: the axis title .title_font: font used for the axis title (integer from 1-10)

Authors


Report an issue
<< Gather Graphic Attributes Gather Graphic Attributes create_figure_struct >>