6.1.2 Global attributes
These attributes are shared by all objects of the same scene
-
title="titlename" defines the title
- labels=["xname","yname","zname"]: names of the x,y,z
axis
- gl_x_axis_name="xname", gl_y_axis_name="yname",
gl_z_axis_name="": individual definitions
of the names of the x,y,z axis
- legend=["xunit","yunit","zunit"]: units for the
x,y,z axis
- gl_x_axis_unit="xunit", gl_y_axis_unit="yunit",
gl_z_axis_unit="": individual definition
of the units of the x,y,z axis
- axes=true or false show or hide axis
- gl_texture="filename": background image
- gl_x=xmin..xmax, gl_y=ymin..ymax,
gl_z=zmin..zmax: set the graphic configuration
(do not use for interactive scenes)
- gl_xtick=, gl_ytick=, gl_ztick=:
set the tick mark for the axis
- gl_shownames=true or false: show or hide objects names
- gl_rotation=[x,y,z]: defines the rotation axis
for the animation rotation of 3-d scenes.
- gl_quaternion=[x,y,z,t]: defines the quaternion
for the visualization in 3-d scenes (do not use for interactive
scenes)
- a few other OpenGL light configuration options are
available but not described here.
Examples
Input :
legend=["mn","kg"]
Input :
title="median_line";triangle(-1-i,1,1+i);median_line(-1-i,1,1+i);median_line(1,-1-i,1+i);median_line(1+i,1,-1-i)
Input :
labels=["u","v"];plotfunc(u+1,u)