I can use matrixplot for plotting basic functions but I am having problems with matrices. If I try to plot Z={{3 Cos[t], 2Sin[t]}, {-8 Cos[t], 5Sin[t]}}
for -50<=t<=50
I get a strange narrow box and I am not sure if it's correct at all. I used the following plot commands:
MatrixPlot[Table[UnitStep[{3 Cos[t], 2 Sin[t]}] UnitStep[{-8 Cos[t],5 Sin[t]}], {t, -50, 50}], PlotTheme -> "Detailed"]
Is this the correct way to matrix plot what I mentioned?
{101, 2}
which is the reason for the narrow box. Not clear exactly what you are trying to achieve withMatrixPlot
. $\endgroup$Z
is a pair of ellipses in parametric form. Maybe you wantParametricPlot[{{3 Cos[t], 2 Sin[t]}, {-8 Cos[t], 5 Sin[t]}}, {t, -50, 50}]
? Note that in WL the arguments to trig functions are specified in radians, so you probably don't want the range to be -50 to 50. $\endgroup$