# Scalar3D.plot\_z\_midplane

[![badge](https://img.shields.io/badge/Source%20Code-06D40C?style=plastic)](https://github.com/LorenzoPiu/aPriori/blob/main/src/aPriori/DNS.py#L2416-L2458)

### Scalar3D.<mark style="color:red;">plot\_z\_midplane</mark>(self, mesh, title='', colormap='viridis', vmin=None, vmax=None):

***

### Description

Plots the z midplane of a 3D field.

This method plots the x midplane of a 3D field using the provided mesh. It uses the midpoint of the x-axis to generate a 2D plot of the field values at that plane.

### Parameters

* `mesh` (object): The mesh object containing the coordinates.
* `title` (str, optional): The title of the plot. Default is an empty string.
* `colormap` (str, optional): The colormap to use for the plot. Default is 'viridis'.
* `vmin` (float, optional): The minimum value for the color scale. Default is None.
* `vmax` (float, optional): The maximum value for the color scale. Default is None.

### Returns

* None
