I'm plotting sin(theta) and theta, and that's working. But I'm also trying to plot the error between the two as a percentage, and plot that against theta. The second plot shows up, but there's no data. Please let me know if you can reproduce, and if I'm doing something wrong.
Also, how can I print out the values of the pct series so I can see the actual numbers?
theta = 0:0.02:1;
y = sin(theta);
plot(theta, y, theta, theta)
pct = 100 - (100 * (theta - y) / y);