# AoG "range step cannot be zero"

**URL:** <https://discourse.julialang.org/t/aog-range-step-cannot-be-zero/87624>\
**Category:** Visualization\
**Tags:** algebraofgraphics\
**Created:** [September 22, 2022, 8:28am UTC](https://discourse.julialang.org/t/aog-range-step-cannot-be-zero/87624 "2022-09-22T08:28:07Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [September 22, 2022, 8:47am UTC](https://discourse.julialang.org/t/aog-range-step-cannot-be-zero/87624/3 "2022-09-22T08:47:47Z")

</div>

Check this thread:

> [@Error message when using AoG/Makie with "yscale=log10", for my particular data](https://discourse.julialang.org/t/error-message-when-using-aog-makie-with-yscale-log10-for-my-particular-data/82206):
>
> Hello all, when running the following piece of code, I obtain an error. I have found out that it is due to the fact of using yscale=log10. If I use yscale=log there is no problem. In the x coordinate I have no problem. # %% plt = Vector{Layer}(undef, length(ϵ)) g = ["black", "red", "blue", "green", "cyan"] labels = (e-\>"ϵ=$e").(ϵ) println(labels) length(plt) # %% for i = 1:length(ϵ) ρ\_f = rar[i].mass\_spline.derivative(1) r = rar[i].r ρ=ρ\_f(r) df\_plot = (x=r/rₛ, y=ρ./(4\*…

Perhaps the workaround does it for you too.

---

_[View the full topic](https://discourse.julialang.org/t/aog-range-step-cannot-be-zero/87624)._
