---
description: You can style the plot very easily
---

# Plot Style

### Styling Parameters

#### Setting Background Color

```python
def faceColor(self, face_color):
```

* `face_color` (str): Background color of the 3D plot.

This method allows you to set the background color of the plot. You can specify a color name (e.g., "white") or use a hexadecimal color code (e.g., "#F3EEEA") to customize the background.

#### Setting Axis Plane Color

```python
def paneColor(self, pane_color):
```

* `pane_color` (str): Color of the axes planes.

Use this method to change the color of the planes representing the X, Y, and Z axes. It helps differentiate the axes from the background.

#### Setting Grid Color

```python
def gridColor(self, grid_color):
```

* `grid_color` (str): Color of grid lines.

You can specify the color of the grid lines in the 3D plot using this method. Grid lines provide reference points in the plot.

#### Setting Orbit Transparency

```python
def orbitTransparency(self, orbit_transparency):
```

* `orbit_transparency` (float): Transparency of orbit lines (0.0 to 1.0).

This parameter controls the transparency of the plotted orbit lines. A value of 0.0 means fully transparent, while 1.0 means fully opaque.

#### Setting Label Color

```python
def labelColor(self, label_color):
```

* `label_color` (str): Color of axis labels.

You can customize the color of the axis labels using this method. It allows you to make the labels more visible or match the overall style of your plot.

#### Setting Tick Color

```python
def tickColor(self, tick_color):
```

* `tick_color` (str): Color of axis ticks.

Use this parameter to specify the color of the ticks on the X, Y, and Z axes. It helps in aligning the ticks with the overall color scheme of the plot.

### Example Usage

```python
test = datasetOrbit(plot_title="Test", name="Earth", fps=30)

# Setting background color to dark
test.faceColor("#222831")

# Setting axes plane color
test.paneColor("#F3EEEA")

# Setting grid color to a contrasting color
test.gridColor("gray")

# Adjusting orbit transparency for a subtle effect
test.orbitTransparency(0.3)

# Changing label color to white
test.labelColor("white")

# Customizing tick color to match the background
test.tickColor("#222831")

# Applying the chosen styling
test.datasetPlotStyle(background_color="dark_background")

# The rest of the code for data loading and animation goes here...
```

In this example, we've demonstrated how to use the styling parameters of the `datasetOrbit` class to create a visually appealing 3D orbital plot. Each styling parameter allows you to fine-tune the appearance of the plot to suit your preferences and design aesthetics.

Feel free to experiment with different color choices and transparency levels to achieve the desired visual effect for your celestial object orbit plots.
