<< CL_g_tag Utilities CL_getEarthMap >>

celestlab >> Utilities > CL_g_ticks

CL_g_ticks

Creation of a Scilab "ticks" structure

Calling Sequence

[ticks] = CL_g_ticks(locations [[, labels, form]])

Description

Parameters

locations:

Ticks locations. (1xN)

labels:

(string, optional) Ticks labels. (1xN)

form:

(string, optional) Format to be used if labels are not given. (1x1)

Authors

Examples

scf();
x = 0 : 10;
plot(x, x);
a = gca();
a.x_ticks = CL_g_ticks(1 : 2 : 9);
a.y_ticks = CL_g_ticks([1, 3, 7], ["One", "Three", "Seven"]);
a.sub_ticks = [0,0];
CL_g_stdaxes(a);

Report an issue
<< CL_g_tag Utilities CL_getEarthMap >>