Table of Contents
El soporte de dibujo solo está disponible para la versión gráfica de GNOME. Todo el dibujo disponible desde la interfaz gráfica está disponible en la ventana Crear dibujo. Puede acceder a esta ventana pulsando en el botón Dibujo de la barra de herramientas o seleccionando Dibujo desde el menú Calculadora. También puede acceder a las funcionalidades de dibujo usando las funciones de trazado del lenguaje GEL. Consulte la Chapter 5, Conceptos de GEL para aprender a introducir expresiones que entienda Genius.
To graph real-valued functions of one variable, open the Create Plot
window. You can also use the
LinePlot
function
on the command line (see its documentation). And by the words line plot, we mean plots in the plane,
as opposed to surface plots, which are in three dimensions.
Una vez que pulse el botón Dibujo, se abre una ventana con algunas pestañas en ella. Se encontrará con la pestaña Dibujo de la línea de función y dentro de ella encontrará la pestaña Funciones / Expresiones. Consulte la Figure 4.1, “Crear una ventana de dibujo”.
Type expressions with x
as
the independent variable into the textboxes. Alternatively you can give names of functions such as
cos
rather then having to type cos(x)
.
You can graph up to ten functions. If you make a mistake and Genius cannot
parse the input it will signify this with a warning icon on the right of the text
input box where the error occurred, as well as giving you an error dialog.
You can change the ranges of the dependent and independent variables in the bottom
part of the dialog. In the boxes for the ranges, simple expressions are allowed,
such as 2*pi
or 10^3
.
The y
(dependent) range can be set automatically by turning on the Fit dependent axis
checkbox.
The names of the variables can also be changed.
Pressing the Plot button produces the graph shown in Figure 4.2, “Ventana de dibujo”.
Las variables se pueden renombrar al pulsar el botón Cambiar nombres variables..., lo que es útil si quiere imprimir o guardar la figura y no quiere utilizar los nombres predeterminados. Finalmente, puede evitar imprimir la leyenda y las etiquetas de los ejes completamente, lo que también es útil si está imprimiendo o guardando, cuando la leyenda podría ser confusa.
Desde aquí puede imprimir el dibujo, crear un PostScript encapsulado o un PNG del dibujo, o cambiar la escala. Si el eje dependiente no se ha establecido correctamente, puede hacer que Genius lo ajuste buscando los extremos de las funciones representadas.
Para dibujar usando la línea de comandos, consulte la documentación de la función LinePlot
.