I want to show a continuous time Markov chain and I want to plot something like below: enter image description here

  • 2
    $\begingroup$ What have you tried so far? $\endgroup$ – Anne Nov 25 '18 at 18:48
  • $\begingroup$ Nothing! I don't know how to put black and white circles. $\endgroup$ – sara kaviani Nov 25 '18 at 18:57
  • $\begingroup$ but my wolfram mathematica version is 11.3.0 and can't recognise the plotpiecewise code! $\endgroup$ – sara kaviani Nov 25 '18 at 19:31
  • 1
    $\begingroup$ @sarakaviani: The code in the linked Q&A works for me. You did enter and execute the definition of the PlotPiecewise function didn't you ? $\endgroup$ – High Performance Mark Nov 25 '18 at 19:39
  • $\begingroup$ I wrote and execute PlotPiecewise in mathematica space and it was unknown for that! $\endgroup$ – sara kaviani Nov 26 '18 at 6:49

Browse other questions tagged or ask your own question.