MATLAB: How to plot one timeseries vs another from the command line

MATLABtimeseriesxy plot

I have two timeseries. I want to plot them vs each other in an XY plot. Is this possible to do this like in the tstool "XY Plots" option? I want to do this from the command line and not from tstool.

Best Answer

t=-10:0.1:10;
x=sin(t);
y=cos(t)
plot(x,y)