I have created plot of my model function:


using the material from question that I have previously asked (Energy band plotting), and I am getting plots like this:

enter image description here

Is there some way that I can add some data points (say some experimental measurements next to plotted model) in particular parts of given plot, say some data points from $(0,0)$ to $(\pi,-\pi)$, and some other data points in interval from $(\pi,0)$ to $(2\pi,0)$?

  • 3
    $\begingroup$ Show, Epilog? $\endgroup$
    – Kuba
    Commented Feb 11, 2019 at 13:18
  • $\begingroup$ It doesn't give me desired result, it just puts points all over plot, not inside specific part. $\endgroup$
    – Theorist
    Commented Feb 11, 2019 at 15:03
  • $\begingroup$ If you still have problems getting this to work: Look at the linked question, and read the documentation of Show/Epilog carefully. If you're still stuck at this point, update this question to include the stuff you've tried, and explain why it doesn't do what you want. (As it stands now, your question is just a generic "how to put points on top of another plot" question, hence the closing as duplicate) $\endgroup$
    – Lukas Lang
    Commented Feb 12, 2019 at 8:18
  • $\begingroup$ I have successfully used Epilog and I have managed to create desired plot. Specific way of creating plot in the first place demands specific corrections to Epilog options for points (just matter of translating points along axis), but I think I have done it correctly. $\endgroup$
    – Theorist
    Commented Feb 12, 2019 at 9:57


Browse other questions tagged or ask your own question.