# Alpha values in 3d plotting

**URL:** <https://discourse.julialang.org/t/alpha-values-in-3d-plotting/31236>\
**Category:** General Usage\
**Created:** [November 18, 2019, 8:49pm UTC](https://discourse.julialang.org/t/alpha-values-in-3d-plotting/31236 "2019-11-18T20:49:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dom-Skinner](https://avatars.discourse-cdn.com/v4/letter/d/85f322/32.png) [@Dom-Skinner](https://discourse.julialang.org/u/Dom-Skinner)\
**Post date:** [November 18, 2019, 8:49pm UTC](https://discourse.julialang.org/t/alpha-values-in-3d-plotting/31236/1 "2019-11-18T20:49:57Z")

</div>

When using the pyplots backend for 3d scatter, the points have different alpha values even when you set alpha to be equal to 1. Anyone know how to control the alpha values?

E.g.

```julia
using Plots
pyplot()

P = [rand(10) for i = 1:3]
scatter3d(P...,ms=10,leg=false,alpha=0.99)

```

![example](https://global.discourse-cdn.com/julialang/original/3X/d/6/d66d448cb0134f1ce281730673d7ed85ae2ecf20.png)

---

<div class="post-metadata">

**Author:** ![Dom-Skinner](https://avatars.discourse-cdn.com/v4/letter/d/85f322/32.png) [@Dom-Skinner](https://discourse.julialang.org/u/Dom-Skinner)\
**Post date:** [November 18, 2019, 9:17pm UTC](https://discourse.julialang.org/t/alpha-values-in-3d-plotting/31236/2 "2019-11-18T21:17:51Z")

</div>

I checked, and PyPlots doesn’t have this problem:

```julia
using PyPlot

P = [rand(10) for i = 1:3]
scatter3D(P...,alpha=0.99,s=90)
gcf()

```

![example](https://global.discourse-cdn.com/julialang/original/3X/7/e/7ec5f808d9a75d2057fe9cb57b78adbdb0f3b8ba.png)
