How To Install zegrapher on Ubuntu 20.04
Introduction
In this tutorial we learn how to install zegrapher
on Ubuntu 20.04.
What is zegrapher
zegrapher is:
ZeGrapher is developed with the idea that it must be as easy to use as possible, suitable for high school students. Here are features offered by Zegrapher:
- Visualize up to six functions simultaneously. All the usual functions can be called, they’re all written on the virtual keyboard of the program. The name of these must be followed by an open parenthesis. Ex : cos(3x), sqrt(x) and not cos 3x or sqrt x. On a given function, others can be called, and so it’s possible to associate or compose functions.
- Numerical sequence plotting, they can be defined by recurrent relation, or explicitly. On the recurrent definition, you can put as much first values as you need to.
- Parametric equation plotting, with the possibility to use a second parameter, which is “k”. The curves can be animated, with adjustable smoothness (frame rate) and speed (ms per step).
- Parametric function and sequence plotting. The parameter to use is “k”. Once you put it on an function’s expression, new widgets will appear on which you’ll enter the range and the step of “k”. You can also choose two colors and each curve would take a color between these two.
- Draw tangents, they can be moved and resized simply with the mouse.
- Draw derivatives and antiderivatives of functions.
- Print the graph, with these options : ° Choose the basis scale in centimeters, so you can measure the graph on the sheet with a ruler. ° Choose the size and the position of the graph on the sheet. ° Print in color or gray-scale. ° Export on a PDF file.
- Exporting, it’s possible to use all the known formats (png, jpeg, tiff, gif, …).
- Display a table of values, you can do it with three different options: ° From current graph view, the program will display the different functions ,sequences and parametric equation values from the graph’s scale. And if you move the graph, the table would update itself automatically. ° Manual, you choose a number of empty boxes, then you’ll enter by yourself the values that you want to know. ° Semi-automatic, with a given start value, step and number of values to display.
- Navigate on the graph : ° Select a curve to display the coordinates of its points. ° Zoom/unzoom on each axis separately or together, with the mouse on a point, or on a rectangular region. ° Move the graph.
- Customize the presentation : ° Change all the colors: axes, background, functions… ° Adjust curves displaying precision, it’ll also affect rendering speed. ° Show/hide the grid. ° Activate/deactivate curves’ smoothing. ° Display the graph on an orthonormal basis.
There are three methods to install zegrapher
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install zegrapher Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install zegrapher
using apt-get
by running the following command:
sudo apt-get -y install zegrapher
Install zegrapher Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install zegrapher
using apt
by running the following command:
sudo apt -y install zegrapher
Install zegrapher Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install zegrapher
using aptitude
by running the following command:
sudo aptitude -y install zegrapher
How To Uninstall zegrapher on Ubuntu 20.04
To uninstall only the zegrapher
package we can use the following command:
sudo apt-get remove zegrapher
Uninstall zegrapher And Its Dependencies
To uninstall zegrapher
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove zegrapher
Remove zegrapher Configurations and Data
To remove zegrapher
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge zegrapher
Remove zegrapher configuration, data, and all of its dependencies
We can use the following command to remove zegrapher
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge zegrapher
References
Summary
In this tutorial we learn how to install zegrapher
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.