# Plotting bifurcation diagrams using Mathematica

**URL:** <https://community.wolfram.com/t/plotting-bifurcation-diagrams-using-mathematica/4592>\
**Category:** Questions\
**Tags:** physics, mathematica, graphics-and-visualization\
**Created:** [January 22, 2015, 12:22pm UTC](https://community.wolfram.com/t/plotting-bifurcation-diagrams-using-mathematica/4592 "2015-01-22T12:22:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cliffon](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@cliffon](https://community.wolfram.com/u/cliffon)\
**Post date:** [January 22, 2015, 12:22pm UTC](https://community.wolfram.com/t/plotting-bifurcation-diagrams-using-mathematica/4592/1 "2015-01-22T12:22:39Z")

</div>

Hello, I am new to Wolfram Mathematica, and I try to work with it to plot bifurcation diagram. The quest is to plot lines that are continous in one range and dashed in another range. The key point is that there is a function that gives me the information whether the line is continous (stable) or dashed (unstable). Is there a way to switch between a continuous line-style to a dashed line-style depending on a value of another function?

 ![bifurcation.png](https://global.discourse-cdn.com/wolfram/original/3X/2/7/2739787f36fa42f0b26b578181dcd5d54842f3bf.png)

---

<div class="post-metadata">

**Author:** ![seanc](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/seanc/32/34005_2.png) [@seanc](https://community.wolfram.com/u/seanc)\
**Post date:** [January 22, 2015, 9:11pm UTC](https://community.wolfram.com/t/plotting-bifurcation-diagrams-using-mathematica/4592/2 "2015-01-22T21:11:33Z")

</div>

Bifrucation diagrams are a bit more tricky than plotting a function. There are a couple of resources online about how to write this function. I would reccomend taking a look at this one:

[http://mathematica.stackexchange.com/questions/13277/mathematica-code-for-bifurcation-diagram](http://mathematica.stackexchange.com/questions/13277/mathematica-code-for-bifurcation-diagram)
