# Problems using the GR framework

**URL:** <https://discourse.julialang.org/t/problems-using-the-gr-framework/22973>\
**Category:** New to Julia\
**Created:** [April 9, 2019, 8:27pm UTC](https://discourse.julialang.org/t/problems-using-the-gr-framework/22973 "2019-04-09T20:27:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmed\_Salih](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ahmed_salih/32/206579_2.png) [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Post date:** [April 9, 2019, 8:27pm UTC](https://discourse.julialang.org/t/problems-using-the-gr-framework/22973/1 "2019-04-09T20:27:04Z")

</div>

Hey guys!

I am doing, “using GR” for the sole reason that I find the plots it makes very pretty. I have a problem:

1. How do I change line width? I try the following code nothing changes:

```julia
using GR
setlinewidth(5)
plot(rand(3))

```

The linewidth does not change (I use Atom / Juno). I am stuck here, which kind of sucks, so I hope someone can guide me through.

I am clear that I can do what I want using Plots.jl - I just want to know why I can’t get it to work with GR directly.

Kind regards

---

<div class="post-metadata">

**Author:** ![LasseKatten](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lassekatten/32/8145_2.png) [@LasseKatten](https://discourse.julialang.org/u/LasseKatten)\
**Post date:** [April 18, 2019, 11:36am UTC](https://discourse.julialang.org/t/problems-using-the-gr-framework/22973/2 "2019-04-18T11:36:36Z")

</div>

This works  
`plot(rand(3), linewidth=5)`

There is a list of attributes [in juliaplots documentation](https://docs.juliaplots.org/latest/attributes/)
