# How to add lines to an existing 3D scatter plot? (drop lines)

**URL:** <https://community.plotly.com/t/how-to-add-lines-to-an-existing-3d-scatter-plot-drop-lines/71820>\
**Category:** 📊 Plotly Python\
**Created:** [January 21, 2023, 9:14am UTC](https://community.plotly.com/t/how-to-add-lines-to-an-existing-3d-scatter-plot-drop-lines/71820 "2023-01-21T09:14:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![noverain](https://avatars.discourse-cdn.com/v4/letter/n/c6cbf5/32.png) [@noverain](https://community.plotly.com/u/noverain)\
**Post date:** [January 21, 2023, 9:14am UTC](https://community.plotly.com/t/how-to-add-lines-to-an-existing-3d-scatter-plot-drop-lines/71820/1 "2023-01-21T09:14:48Z")

</div>

I want to draw drop lines to coordinate plane in a 3D scatter plot to represent the locations of plots but have no idea how to achieve it. I think an alternitve might be to add lines to the scatter plot but have not found how to do that. I was able to create a 3D scatter plot and a line plot seperately but I want to draw them in the same 3D chart. So please help me drawing drop lines for each scatter plot or adding lines to the existing 3D scatter plot. Thanks!

---

<div class="post-metadata">

**Author:** ![AIMPED](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/aimped/32/21758_2.png) [@AIMPED](https://community.plotly.com/u/AIMPED)\
**Post date:** [January 21, 2023, 9:19am UTC](https://community.plotly.com/t/how-to-add-lines-to-an-existing-3d-scatter-plot-drop-lines/71820/2 "2023-01-21T09:19:40Z")

</div>

Hi @noverain Welcome to the forums.

What exactly are drop lines?

Is maybe a surface plot with contours similar to what you are trying to do?

> **[3d](https://plotly.com/python/3d-surface-plots/)**
>
> Detailed examples of 3D Surface Plots including changing color, size, log axes, and more in Python.
