# Gadfly Performance Issue

**URL:** <https://discourse.julialang.org/t/gadfly-performance-issue/12982>\
**Category:** Visualization\
**Tags:** gadfly\
**Created:** [August 7, 2018, 10:31am UTC](https://discourse.julialang.org/t/gadfly-performance-issue/12982 "2018-08-07T10:31:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GantZA](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gantza/32/4867_2.png) [@GantZA](https://discourse.julialang.org/u/GantZA)\
**Post date:** [August 7, 2018, 10:31am UTC](https://discourse.julialang.org/t/gadfly-performance-issue/12982/1 "2018-08-07T10:31:25Z")

</div>

I’m trying to create a QQ plot for about 400 000 inter-arrival times, but the resulting plot takes far too long to open or julia crashes. Is there a way to plot more efficiently?

```julia
plot_test = plot(
    x = test1[:ita],
    y = Exponential(mu),
    Stat.qq,
    Geom.point,
    style(default_color = colorant"green",
    highlight_width = 0pt,
    point_size=0.5pt));

```

---

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [August 7, 2018, 11:27am UTC](https://discourse.julialang.org/t/gadfly-performance-issue/12982/2 "2018-08-07T11:27:01Z")

</div>

Do you mean something like this:

 ![grafik](https://global.discourse-cdn.com/julialang/original/3X/6/4/6441f6cf51b857c88a16c1b9113304e4065f13ac.jpeg)

```plaintext
Pkg.add("Makie")
Pkg.checkout("Makie")
Pkg.checkout("AbstractPlotting")
using Makie
scatter(test1[:ita], Exponential(mu), markersize = 1.0, markercolor = (:green, 0.4))

```

should get you that - possibly without the Stat.qq! 😉 Not sure what exactly that will add to the plot!

---

<div class="post-metadata">

**Author:** ![GantZA](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gantza/32/4867_2.png) [@GantZA](https://discourse.julialang.org/u/GantZA)\
**Post date:** [August 7, 2018, 11:39am UTC](https://discourse.julialang.org/t/gadfly-performance-issue/12982/3 "2018-08-07T11:39:55Z")

</div>

Thanks. It seems the issue was that I was rendering the plot using SVG and when I used PNG the file size was much more managable and nothing crashed
