# \[ANN\] UnicodePlots.jl v2.8.0 - 3D plots

**URL:** <https://discourse.julialang.org/t/ann-unicodeplots-jl-v2-8-0-3d-plots/75963>\
**Category:** Package Announcements\
**Tags:** repl, plots, unicodeplots\
**Created:** [February 7, 2022, 6:25pm UTC](https://discourse.julialang.org/t/ann-unicodeplots-jl-v2-8-0-3d-plots/75963 "2022-02-07T18:25:08Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![yakir12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yakir12/32/297_2.png) [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Post date:** [February 28, 2022, 9:57am UTC](https://discourse.julialang.org/t/ann-unicodeplots-jl-v2-8-0-3d-plots/75963/13 "2022-02-28T09:57:11Z")

</div>

I just wanted to report back here that I managed to get relatively good “animation” just by clearing the REPL before plotting (Thanks to @Tamas_Papp [here](https://discourse.julialang.org/t/how-clear-the-printed-content-in-terminal-and-print-to-the-same-line/19549/9)). This allows for live plotting (i.e. closer to using observables like in Makie).

MWE:

```julia
using UnicodePlots
import REPL
terminal = REPL.Terminals.TTYTerminal("", stdin, stdout, stderr)

xs = range(0, 7, length=40)
fps = 30
for t in 0:1/fps:100
  ys = sin.(xs .- t)
  REPL.Terminals.clear(terminal)
  println(lineplot(xs, ys, xlim = (0, 7), ylim = (-1, 1)))
  sleep(1/fps)
end

```

![animation](https://global.discourse-cdn.com/julialang/original/3X/c/e/ce927cc8311958ba5749d56b22b380302d4c63dc.webp)

It’s a bit jumpy, but saves the day on diagnosing a headless server without XForwarding…

---

_[View the full topic](https://discourse.julialang.org/t/ann-unicodeplots-jl-v2-8-0-3d-plots/75963)._
