Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of drawing Mathematical Graph by using Plots on Linux

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the method of using Plots to draw mathematical graphics on Linux, which has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, let the editor take you to understand it.

Plots is a graphics application, which can easily realize the visualization of mathematical formulas. You can use it to draw the sum and product of any trigonometric function, hyperbolic function, exponential function and logarithmic function.

Using Plots to draw Mathematical Graph on Linux

Plots is a simple app inspired by Web graphics apps like Desmos. It allows you to draw graphics of different mathematical functions, you can enter these functions interactively, and you can customize the color of the drawing.

Plots is written in Python and uses OpenGL to take advantage of modern hardware. It uses GTK 3, so it integrates well with the GNOME desktop.

Using Plots is very straightforward. To add a new equation, click the plus sign. Click the trash can icon to delete the equation. You can also choose to undo and redo. You can also zoom in and out.

The text box in which you enter the equation is friendly. There is a help option in the menu to access the document. Here you can find useful tips on how to write various mathematical symbols. You can also copy and paste the equation.

In dark mode, the sidebar formula area becomes dark, but the main drawing area is still white. I believe this may be designed in this way.

You can use multiple functions and draw them all in one picture:

I found it crashing when trying to paste some equations that it couldn't understand. If you write something it can't understand, or conflict with existing equations, all graphics will disappear, and incorrect equations will be removed and graphics will be restored.

Unfortunately, there is no option to export the drawing or copy to the clipboard. You can take a screenshot in Linux at any time and use it in the document where you want to add an image.

Install Plots on Linux

Plots provides different installation methods for various distributions.

Ubuntu 20.04 and 20.10 users can use PPA:

Sudo add-apt-repository ppa:apandada1/plots

Sudo apt update

Sudo apt install plots

For other Debian-based distributions, you can install using the deb file here.

I didn't find it in the AUR package list, but as an Arch Linux user, you can use the Flatpak package or install it using Python.

Plots Flatpak software package

If you are interested, you can view the source code in its GitHub repository. If you like this app, please consider giving it star on GitHub.

Thank you for reading this article carefully. I hope the article "using Plots to draw Mathematical Graphics on Linux" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Original address: https://linux.cn/article-13151-1.html

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report