You are not doing anything wrong, you are simply misinterpreting the results. The first function would plot with ‘t’ on the x-axis, going from (-30,30). The second function does the reverse of this, and so the plot adapts to the largest range on both axes, going from to .
It is not empty. It shows the two functions crossing each other. The lines are not the plot axes. The blue line is the plot of (x,y), and the red line is the plot of (xx,yy).
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country
sites are not optimized for visits from your location.