Valentine's Plot

I used code MatLab :

1. theta = 0:0.001:2*pi;
2. r = 1-sin(theta);
3. polar(theta,r,'r.');
4. title('\fontsize{24}\bf\color{magenta}Happy Valentine''s Day');
5. text(0,-0.8,'\fontsize{16}\color{blue}r = 1 - sin(\theta)','HorizontalAlignment','center');


0 comment:

Posting Komentar