# How to Draw This Spiral Solution Curve?

**URL:** <https://discourse.julialang.org/t/how-to-draw-this-spiral-solution-curve/90510>\
**Category:** General Usage\
**Tags:** plotting\
**Created:** [November 19, 2022, 7:01pm UTC](https://discourse.julialang.org/t/how-to-draw-this-spiral-solution-curve/90510 "2022-11-19T19:01:28Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Freya\_the\_Goddess](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/freya_the_goddess/32/36835_2.png) [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Post date:** [November 21, 2022, 8:04am UTC](https://discourse.julialang.org/t/how-to-draw-this-spiral-solution-curve/90510/9 "2022-11-21T08:04:40Z")

</div>

This looks better:

```julia
t = range(0, stop=21, length=10000)
x = @. exp(-2t)*cos(t)
y = @. exp(-2t)*sin(t)

plot(x, y,xlims=(-0.1,1), ylims=(-0.1,0.21))

```

I see this CalculusWithJulia’ arrow feature, but it is straight line, how to bend it?

> [@Vectors Addition only work with initial (0,0)?](https://discourse.julialang.org/t/vectors-addition-only-work-with-initial-0-0/85144):
>
> Hi all, I have been learning from this site: [https://docs.juliahub.com/CalculusWithJulia/AZHbv/0.0.5/differentiable\_vector\_calculus/vectors.html#](https://docs.juliahub.com/CalculusWithJulia/AZHbv/0.0.5/differentiable_vector_calculus/vectors.html#) then I change the initial point and see the second vector is not in the place it should be, needs to modify the code… using CalculusWithJulia using Plots gr() # better arrows than plotly() quiver([0],[0], quiver=([1],[2])) unzip(vs) = Tuple(eltype(first(vs))[xyz[j] for xyz in vs] for j in eachindex(first(vs))) u = [2, 1] v = [-2, 1] w = u…

---

_[View the full topic](https://discourse.julialang.org/t/how-to-draw-this-spiral-solution-curve/90510)._
