Table of Contents
Vykreslování je podporováno pouze ve v grafické verzi GNOME. Veškeré vykreslování je přístupné z grafického rozhraní, ke kterému se dostanete z okna Vytvoření grafu. K tomuto oknu se dostanete kliknutím na tlačítko Graf na liště nástrojů nebo výběrem Vykrestlit
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.
Když kliknete na tlačítko Vykreslit, otevře se okno s několika kartami. Musíte být na kartě Čárový graf funkce a v ní na kartě Funkce/výrazy. Viz Figure 4.1, “Okno Vytváření grafu”.
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, “Okno s grafem”.
Proměnné lze přejmenovat kliknutím na tlačítko Změnit názvy proměnných…, což se hodí, když chcete vytisknout nebo uložit obrázek a nechcete použít standardní názvy. Nakonec můžete také úplně zakázat tisk legendy a popisů os, což se opět hodí při tisku nebo ukládání, když by tyto texty způsobovaly nepřehlednost.
Z tohoto místa můžete graf vytisknout, vytvořit z něj dokument ve formátu uzavřený postskript nebo PNG a nebo změnit zvětšení. Pokud není závislá osa správně nastavena, můžete Genius přimět, aby ji přizpůsobil pomocí nalezení extrému vykreslené funkce.
Ohledně kreslení pomocí příkazového řádku se podívejte do dokumentace na funkci LinePlot
.