# Plots.jl: how to plot a function with different values for a parameter

**URL:** https://discourse.julialang.org/t/plots-jl-how-to-plot-a-function-with-different-values-for-a-parameter/52638
**Category:** Visualization
**Tags:** plotting
**Created:** [December 30, 2020, 11:30pm UTC](https://discourse.julialang.org/t/plots-jl-how-to-plot-a-function-with-different-values-for-a-parameter/52638 "2020-12-30T23:30:35Z")
**Posts on this page:** 4
**Page:** 2

<div class="post-metadata">

### Author: ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)
#### Post date: [January 3, 2021, 2:52pm UTC](https://discourse.julialang.org/t/plots-jl-how-to-plot-a-function-with-different-values-for-a-parameter/52638/21 "2021-01-03T14:52:07Z")

</div>

@VivMendes, yeah, I have read the issue and tried the solution, as indicated in an earlier post. Re-launched also VS Code but nope, no success with LaTeXStrings in one of the Win10 laptops with Julia 1.5.3.

---

<div class="post-metadata">

### Author: ![dpsanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dpsanders/32/3573_2.png) [@dpsanders](https://discourse.julialang.org/u/dpsanders)
#### Post date: [January 5, 2021, 7:16pm UTC](https://discourse.julialang.org/t/plots-jl-how-to-plot-a-function-with-different-values-for-a-parameter/52638/22 "2021-01-05T19:16:31Z")

</div>

@VivMendes: Here’s the Jupyter notebook for the logistic map interactive visualisation from my intervals workshop. The code is probably messy, but modifying it to use Pluto’s interactivity instead shouldn’t be hard:

[https://gist.github.com/647c980cee25725bb95ec0bc6abaa998](https://gist.github.com/647c980cee25725bb95ec0bc6abaa998)

---

<div class="post-metadata">

### Author: ![VivMendes](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vivmendes/32/16477_2.png) [@VivMendes](https://discourse.julialang.org/u/VivMendes)
#### Post date: [January 5, 2021, 8:02pm UTC](https://discourse.julialang.org/t/plots-jl-how-to-plot-a-function-with-different-values-for-a-parameter/52638/23 "2021-01-05T20:02:02Z")

</div>

@dpsanders Thank you very much. It is just a wonderful piece of code that little interactive thing with Pluto. I am gonna use it.

Thanks.

---

<div class="post-metadata">

### Author: ![Tam\_Linh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tam_linh/32/49528_2.png) [@Tam\_Linh](https://discourse.julialang.org/u/Tam_Linh)
#### Post date: [May 5, 2023, 4:50pm UTC](https://discourse.julialang.org/t/plots-jl-how-to-plot-a-function-with-different-values-for-a-parameter/52638/24 "2023-05-05T16:50:56Z")

</div>

Hello, thank you so much for your solutions that I also could follow as I am a newbie here, but just some naive questions:

(1) how could you find out really nice different values for parameter a with a given domain and range of variable x in your figure? (do we need to run the regression to find out this?)

(2) in case of multiple parameters, how could we deal with this?  
Thank you in advance!!

[Previous page](https://discourse.julialang.org/t/plots-jl-how-to-plot-a-function-with-different-values-for-a-parameter/52638.md?page=1)
