Get started with GNUPlot - ste smart
SUBTOTAL :
featured linux
Get started with GNUPlot

Get started with GNUPlot

featured linux
Bréve Description:

Description du produit

GNUPlot is an actively developed free distribution of non-open source command line drawing and drawing software tools, originally released in 1986. GNUPlot can be used for a wide range of applications, so here's a quick guide that will help you understand how to work, play its basic functions and learn how to take your first step with its simple method.

Command Line

To run GNUPlot, you simply open the terminal, type "gnuplot", and press Enter. This will start the software tool so that you are ready to set the variables and start drawing. For example, in the screenshot below, I set the "y" variable to "5" and then draw the corresponding graph by typing "plot (y)" and enter it as shown below.
Please note that GNUPlot warns me that I have not defined a range of values ​​for my graph, so it has automatically assigned me one for me. If I want to do this myself, I can define a specific range by adding two colon-separated numbers in square brackets, as shown in the screenshot below.
GNUPlot supports all the functions of the Unix math library, where most functions support integer, real and complex parameters. You can draw different functions by simply separating them with commas, and the software assigns them a separate line color given in the legend. Here are examples of three functions that use sinusoidal, arctangent (tan ^ -1x) and arcuate cosine in 80 units.
Although you can do anything from the command line and take the full functionality of GNUPlot, I will continue to introduce an example of a graphical interface to make things easier and simpler.

Graphics

My favorite choice is based on Qt's "Cueplot", which has been around for a long time and works well From the command line to stop the location of recovery, I will show how to change the color and thickness of the graphics on the Cueplot, how to export them, and then by drawing 3D and surface further.
In Cueplot, you can add functionality from the top box, and then activate the item by selecting the right frame and clicking the 2D or 3D graph to generate the corresponding graphic.
Now to change the thickness and color of the line, and to change the color and title, you can select the function, and then click the "Options" button on the left. This opens a new window with options where you can add a new name for the legend and then select the style option to change the color by specifying the row type and width. To make changes, you need to press 3D Drawing again.
The easiest way to save the graph now is to export as a png image, which you can do with the Export button at the top left of the graphics window and select the Export to Image option, although other options are useful.

Resources

Finally, the basic scope of this quick guide is that you can now start using the GNUplot feature to further explore its possibilities. To help you, here is a site of various functions of the example used in this tutorial include: HTTP : //gnuplot.sourceforge.net/demo/ , in addition to a cheat sheet that contains the functions that you can use this software : Http : //www.gnuplot.info/docs_4.0/gpcard.pdf .

Source howtoforge

0 Reviews:

Post Your Review