<< create_figure_struct Gather Graphic Attributes create_polylines_struct >>

xs2tikz >> xs2tikz > Gather Graphic Attributes > create_legends_struct

create_legends_struct

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

Syntax

legends = create_legends_struct(axes)

Parameters

axes:

cell with axes handles

colormap:

the figures colormap

legends:

struct with legends data

Description

Creates a struct for each legend found in any axis and add the following fields: .handle: legend handle .links: matrix of handles of associated polylines .visible: legend visibility (on|off) .text: a column vector containing the legends entries .position: a row vector containing the legends upper left coordinates .color.font: font used for the legends entries

Authors


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