next up previous
Next: 2-d geometry Up: Geometry and graphics Previous: Geometry and graphics

Common features

A menu is available below the controls, it contains item to print and control the screen. You can export a graph to encapsulated postscript and to PNG (you must have the converting tools netpbm installed).

Title and axis legends must be part of the command(s) that generate the graph or geometry window. For example, try this on a commandline
f(t):=sin(t);title="Graph of f on a period",labels=["t","f(t)"],legend=["cm","m"],plot(f(t),t=-pi..pi)

Controls are common to 2-d, 3-d and to graphic or geometry. You can move left, right, up and down the window, redefine it using coordinates, zoom in and out, pause and restart an animation. In 2-d, the coordinates of the mouse are displayed while it is in the graphic area. In 3-d, you can rotate the representation along the current x, y, z axis with a mouse drag outside of the scene rendering, or by hitting the x,X, y,Y and z,Z key (when the focus is the 3-d scene).

Note that the controls apply only to the visualization, not to the creation of graphic objects. For example, if you create a plot of a function, the discretisation parameters for this plot (e.g. minimal value for x) are fixed and will not change if you move the minimal visualisation value using the controls. You must recreate a graphical object if you did not choose correctly the parameters. For example if you run the command plot(sin(x)), the minimal value for computation of x will be the default value (Xmin from the Geo configuration). If you move the minimal value of x for visualization below Xmin, you will not see the plot there. To see the plot below Xmin, you would have to specify something like ploy(sin(x),x=-20..0) and validate the commandline. This does not apply to point, line and circles which will always be drawn if visible.


next up previous
Next: 2-d geometry Up: Geometry and graphics Previous: Geometry and graphics
giac documentation written by Bernard Parisse