# Plots.jl styling vs. GR

**URL:** <https://discourse.julialang.org/t/plots-jl-styling-vs-gr/6676>\
**Category:** Visualization\
**Created:** [October 25, 2017, 11:06am UTC](https://discourse.julialang.org/t/plots-jl-styling-vs-gr/6676 "2017-10-25T11:06:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oliver\_Lylloff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oliver_lylloff/32/9022_2.png) [@Oliver\_Lylloff](https://discourse.julialang.org/u/Oliver_Lylloff)\
**Post date:** [October 25, 2017, 11:06am UTC](https://discourse.julialang.org/t/plots-jl-styling-vs-gr/6676/1 "2017-10-25T11:06:53Z")

</div>

Hi there,

I really enjoy Plots and GR (independently and as a backend for Plots). Thanks to the devs for putting all that love into it.

Up until now I’ve used whatever suited my specific plotting needs but I’m starting to move towards Plots as my main tool.  
However, I personally like the default style/theme of GR better than Plots and would like to get that with Plots as well. See examples:

```julia
using Plots, GR
x = 0:0.1:4pi
y = sin.(x)
GR.plot(x,y)
# or
Plots.plot(x,y)

```

Output from GKSTerm with GR  
 ![55](https://global.discourse-cdn.com/julialang/original/3X/e/7/e743a95b6154f2c95a6e6d414dae74aaf82e05c0.png)

Output from GKSTerm with Plots  
 ![46](https://global.discourse-cdn.com/julialang/original/3X/0/d/0d8ec9b8a2671942422c2b0cc0641db885e5bd49.png)

This is purely aesthetics but is it something I can change in Plots?

```julia
versioninfo()
Julia Version 0.6.0
Commit 903644385b (2017-06-19 13:05 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin13.4.0)
  CPU: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, skylake)

```

Thanks in advance,  
Oliver

---

<div class="post-metadata">

**Author:** ![mkborregaard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkborregaard/32/556_2.png) [@mkborregaard](https://discourse.julialang.org/u/mkborregaard)\
**Post date:** [October 25, 2017, 11:42am UTC](https://discourse.julialang.org/t/plots-jl-styling-vs-gr/6676/2 "2017-10-25T11:42:13Z")

</div>

No, but it’d be great to have better themes support in PlotThemes that would allow Plots to emulate the themes from the backends. You can get part of the way by using Plots attributes, but e.g. Plots does not support minor tick marks. It’s an important discussion - how lightweight should Plots be in its interaction with the backends?

This is slightly closer:

```julia
plot(sin, 0, 4π, ylim = (-1,1), c = :navy, legend = false, size = (530,390), xticks = 0:5:10, framestyle = :box, tickfont = font(9))

```

![05](https://global.discourse-cdn.com/julialang/original/3X/6/6/66472dbd07a05ed9329e69faf88da0fa8ff17872.png)

Some of these attributes could be set as defaults. Minor tick marks… maybe that would be cool to have?

---

<div class="post-metadata">

**Author:** ![Oliver\_Lylloff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oliver_lylloff/32/9022_2.png) [@Oliver\_Lylloff](https://discourse.julialang.org/u/Oliver_Lylloff)\
**Post date:** [October 25, 2017, 11:50am UTC](https://discourse.julialang.org/t/plots-jl-styling-vs-gr/6676/3 "2017-10-25T11:50:58Z")

</div>

Thanks for the quick reply!

Yes would be nice to have something like that in PlotThemes. I wonder if that would require a lot of trial-and-error or we could infer some knowledge from the backends…
