# Failed to plot

**URL:** <https://discourse.julialang.org/t/failed-to-plot/83002>\
**Category:** General Usage\
**Tags:** question, package\
**Created:** [June 19, 2022, 7:16am UTC](https://discourse.julialang.org/t/failed-to-plot/83002 "2022-06-19T07:16:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zlq178](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zlq178/32/17952_2.png) [@zlq178](https://discourse.julialang.org/u/zlq178)\
**Post date:** [June 19, 2022, 7:16am UTC](https://discourse.julialang.org/t/failed-to-plot/83002/1 "2022-06-19T07:16:12Z")

</div>

I have added the PLots.jl But when I use it to plot.It shows me such wrong.

```julia
using Plots
plot([1,2,3])

```

ERROR: LoadError: UndefVarError: plot not defined  
Stacktrace:  
[1] top-level scope at untitled-752712825fa0b1fb343e0b150fd2e086:1  
[2] include\_string(::Function, ::Module, ::String, ::String) at .\loading.jl:1088  
in expression starting at untitled-752712825fa0b1fb343e0b150fd2e086:1

My Julia environment is JuliaPro 1.5.4-1. Can you help me using the Plot.jl in JuliaPro 1.5.4-1.

---

<div class="post-metadata">

**Author:** ![Raymond](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/raymond/32/36557_2.png) [@Raymond](https://discourse.julialang.org/u/Raymond)\
**Post date:** [June 20, 2022, 1:45pm UTC](https://discourse.julialang.org/t/failed-to-plot/83002/2 "2022-06-20T13:45:05Z")

</div>

```julia
add Plots

```

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [June 20, 2022, 2:38pm UTC](https://discourse.julialang.org/t/failed-to-plot/83002/3 "2022-06-20T14:38:55Z")

</div>

Please don’t use JuliaPro, it is not actively maintained. Try again with Julia 1.7.3, the current release.
