> For the complete documentation index, see [llms.txt](https://visual-python.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://visual-python.gitbook.io/docs/visualization/3.-matplotlib.md).

# 3. Matplotlib

<figure><img src="/files/hJUsUWJ574WX9xtHIYCH" alt="" width="288"><figcaption></figcaption></figure>

1. Click ***Matplotlib*** in the ***Visualization*** category.

<figure><img src="/files/Fz5jZtD0FWP5tO8boUaf" alt="" width="539"><figcaption></figcaption></figure>

2. ***Import Options***: Configure the default settings for the figure. Detailed settings are available under ***Chart Style** in the **Visualization*** category.
3. ***Chart Type***: Select a graph type.

**\*&#x20;*****Additional Options*****: The options below are common to all graph styles.**&#x20;

1. ***Title***: Enter a title for your illustration.
2. ***X Label, Y Label***: Set the names of the axes.
3. ***X Limit, Y Limit***: Set the range of values to be displayed on the axis.
4. ***Legend Title***: Enter a title for the legend.
5. ***Legend Labels***: Add labels to the legend to explain the meaning of the plotted data.
6. ***Legend Position***: Choose a position for the legend.
7. ***Save Figure***: Save the figure. Use the file-shaped icon to set the path.

***

[Line Plot](#line-plot)

[Bar Plot 1](#bar-plot-1)

[Bar Plot 2](#bar-plot-2)

[Histogram](#histogram)

[Box Plot](#box-plot)

[Stack Plot](#stack-plot)

[Pie Plot](#pie-plot)

[Scatter Plot](#scatter-plot)

[Hexbin Plot](#hexbin)

[Contour Plot](#contour-plot)

[Image Plot](#image-plot)

[Error Bar Plot](#error-bar-plot)

***

### Line Plot

<figure><img src="/files/Ax5seYxeIsXTxTJ1JBML" alt="" width="563"><figcaption></figcaption></figure>

1. ***X Value, Y Value***: Select the data you want to graph. Use the funnel icon to select a specific column.
2. ***Chart Label***: Add a label to describe the meaning of the plotted graph.
3. ***Color***: Check '***use color**'* and choose a color for the line.
4. ***Marker***: Choose a style for your marker.
5. ***Line Style***: Choose a style for the line.
6. ***User Option***: You can add additional code beyond the functionality provided by Visual Python.

***

### Bar Plot 1

<figure><img src="/files/iVEvAN83ebly2iRCoLVK" alt="" width="544"><figcaption></figcaption></figure>

1. ***X Value, Height***: Select the data you want to graph. Use the funnel icon to select a specific column.
2. ***Chart Label***: Add a label to describe the meaning of the output graph.
3. ***Color***: Check '***use color**'* and choose a color for the graph.
4. ***Line Style***: Choose a style for the line.
5. ***User Option***: You can add additional code beyond the functionality provided by Visual Python.

***

### Bar Plot 2

<figure><img src="/files/wtafNqxEpHWVwfp1CA3S" alt="" width="563"><figcaption></figcaption></figure>

1. ***Y Value, Width***: Select the data you want to graph. Use the funnel icon to select a specific column.
2. ***Chart Label***: Add a label to describe the meaning of the output graph.
3. ***Color***: Check '***use color**'* and choose a color for the graph.
4. ***Line Style***: Choose a style for the line.
5. ***User Option***: You can add additional code beyond the functionality provided by Visual Python.

***

### Histogram

<figure><img src="/files/2S7w7dvexRbtQ0k0v9gx" alt="" width="531"><figcaption></figcaption></figure>

1. ***Value***: Select the data you want to graph. Use the funnel icon to select a specific column.
2. ***Bins***: Set the interval (bin size) at which you want to divide your data.
3. ***Chart Label***: Add a label to describe the meaning of the output graph.
4. ***Color***: Check '***use color**'* and choose a color for the graph.
5. ***Line Style***: Choose a style for the line.
6. ***User Option***: You can add additional code beyond the functionality provided by Visual Python.

***

### Box Plot

<figure><img src="/files/EG7PAbVuhzuqOjBe2aCe" alt="" width="563"><figcaption></figcaption></figure>

1. ***Value***: Select the data you want to graph. Use the funnel icon to select a specific column.
2. ***User Option***: You can add additional code beyond what Visual Python provides.

***

### Stack Plot

<figure><img src="/files/e1VVybZpGByAkzAmZ6TN" alt="" width="563"><figcaption></figcaption></figure>

1. ***Value***: Select the data you want to graph. Use the funnel icon to select a specific column.
2. ***Color***: Check '***use color**'* and choose a color for the graph.
3. ***Line Style***: Choose a style for the line.
4. ***User Option***: You can add additional code beyond the functionality provided by Visual Python.

***

### Pie Plot

<figure><img src="/files/XsoWlDD4k5rD6U2o9GCG" alt="" width="563"><figcaption></figcaption></figure>

1. ***Value***: Select the data you want to graph. Use the funnel icon to select a specific column.
2. ***User Option***: You can add additional code beyond the functionality provided by Visual Python.

***

### Scatter Plot

<figure><img src="/files/iwfTYv0BnN8wm9KYl3qO" alt="" width="563"><figcaption></figcaption></figure>

1. ***Value***: Select the data you want to graph. Use the funnel icon to select a specific column.
2. ***Color Map***: Choose a color theme for mapping your data.
3. ***Marker***: Choose a style for your marker.
4. ***User Option***: You can add additional code beyond the functionality provided by Visual Python.

***

### Hexbin

<figure><img src="/files/717T8Lr09PLLpEJGsZit" alt="" width="563"><figcaption></figcaption></figure>

1. ***Value***: Select the data you want to graph. Use the funnel icon to select a specific column.
2. ***Chart Label***: Add a label to describe the meaning of the output graph.
3. ***Color***: Check '***use color**'* and choose a color for the graph.
4. ***User Option***: You can add additional code beyond the functionality provided by Visual Python.

***

### Contour Plot

<figure><img src="/files/Ch0uzDRxNogYpab87GtC" alt="" width="563"><figcaption></figcaption></figure>

1. ***Value***: Select the data you want to graph. Use the funnel icon to select a specific column.
2. ***Color Map***: Choose a color theme for mapping your data.
3. ***Chart Label***: Add a label to describe the meaning of the output graph.
4. ***User Option***: You can add additional code beyond the functionality provided by Visual Python.

***

### Image Plot

<figure><img src="/files/sSJYv6hutvQlas7IvhoB" alt="" width="563"><figcaption></figcaption></figure>

1. ***Value***: Select the data you want to graph. Use the funnel icon to select a specific column.
2. ***Extent***: Set the image display area.
3. ***Origin***: Select the origin location of the image. If set to "***lower**",* it will be at the bottom of the coordinate plane, and if set to "***upper**",* it will be at the top.
4. ***Color Map***: Choose a color theme for mapping your data.
5. ***User Option***: You can add additional code beyond the functionality provided by Visual Python.

***

### Error Bar Plot

<figure><img src="/files/qOpMCu5C4jzmtRAX3BTb" alt="" width="563"><figcaption></figcaption></figure>

1. ***Value***: Select the data you want to graph. Use the funnel icon to select a specific column.
2. ***User Option***: You can add additional code beyond the functionality provided by Visual Python.
