sorry if this is a trivial question.
For a cross-check I want to put Twiss ellipses on top of the x-xp distribution.
How do I plot a curve given by equation? (e.g. for a circle of unity radius I'd want to use x^2+y^2=1. In matlab the function is called ezplot I think)
Furthermore, how do I overlay such a curve on top of a 2D distribution plotted with sddscontour?
That's the way I'm plotting it:
Code: Select all
sddshist2d $1 $1.xxp.h2d -col=x,xp -xparam=$NBINS -yparam=$NBINS
sddscontour $1.xxp.h2d -shade=100 -noLabels
Slava