# Plotting a histogram in Julia

**URL:** <https://discourse.julialang.org/t/plotting-a-histogram-in-julia/20361>\
**Category:** New to Julia\
**Tags:** plotting\
**Created:** [February 1, 2019, 4:56pm UTC](https://discourse.julialang.org/t/plotting-a-histogram-in-julia/20361 "2019-02-01T16:56:37Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![jheinen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jheinen/32/2787_2.png) [@jheinen](https://discourse.julialang.org/u/jheinen)\
**Post date:** [February 1, 2019, 6:47pm UTC](https://discourse.julialang.org/t/plotting-a-histogram-in-julia/20361/13 "2019-02-01T18:47:19Z")

</div>

Please try:

```julia
ENV["GRDIR"]=""
] build GR
using GR
histogram(randn(10000))

```

If that works, you can restart Julia and switch to Plots:

```julia
using Plots
histogram(randn(10000))

```

For any reason, your installation is/was incomplete.

---

_[View the full topic](https://discourse.julialang.org/t/plotting-a-histogram-in-julia/20361)._
