# How do I draw a 3d square in Plots.jl?

**URL:** https://discourse.julialang.org/t/how-do-i-draw-a-3d-square-in-plots-jl/32756
**Category:** General Usage
**Created:** [December 28, 2019, 2:28pm UTC](https://discourse.julialang.org/t/how-do-i-draw-a-3d-square-in-plots-jl/32756 "2019-12-28T14:28:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![yuxi.liu](https://avatars.discourse-cdn.com/v4/letter/y/839c29/32.png) [@yuxi.liu](https://discourse.julialang.org/u/yuxi.liu)
#### Post date: [December 28, 2019, 2:28pm UTC](https://discourse.julialang.org/t/how-do-i-draw-a-3d-square-in-plots-jl/32756/1 "2019-12-28T14:28:00Z")

</div>

I want to draw a square in 3d space defined by the points

```julia
[ -20 0 0;
  -20 0 40;
  20 0 0;
  20 0 40]

```

How to do that?
