# Chapter 8. Short Tutorials

## Building a sine graph with LabPlot

In this chapter you will find explanations on how to build a simple plot for a curve in the Cartesian coordinates from a mathematical equation.

1. Click on the button or press Ctrl+N on the keyboard.

2. Click on the Project item on the Project Explorer panel with the mouse button and choose Add newWorksheet or press Alt+X on the keyboard.

3. Click on the Worksheet item on the Project Explorer panel with the mouse button and choose Add newxy-plottwo axes, centered.

4. Click on the xy-plot item on the Project Explorer panel with the mouse button and choose Add newxy-curve from a mathematical equation.

5. Use the xy-equation-curve properties pane on the right to enter `sin(x)` into the y=f(x) field (for the list of available functions please see Chapter 10, Parser functions), `-6` into the x, min field, `6` into the x, max field and click on the button to see the result.

### Note

LabPlot highlights unknown syntax in the y=f(x) field. This is useful to control the correctness of the input.

### Important

The list of the known functions can be found in corresponding section of this manual.

6. Switch to the Line tab on the xy-equation-curve properties pane and choose cubic spline (natural) from the Type drop down box.

7. Switch to the Symbol tab on the xy-equation-curve properties pane and choose none from the Style drop down list.

8. Click on the xy-plot item on the Project Explorer panel with the mouse button and choose Add newlegend. Switch to the Title tab on the Cartesian plot legend properties pane and enter `Graph of sine` into the Text field.

9. Choose FileExport from the main menu. Select the place and the format to save the plot.