How can i draw Butterflies like this
Show older comments
Answers (1)
Image Analyst
on 14 Jun 2020
Well they pretty much told you how to do it step by step. To get t I'd use colons:
t = 0 : dt : 40*pi;
To plot in red or black, use
plot(x, y, 'r-', 'LineWidth', 2); % Red line
plot(x, y, 'k-', 'LineWidth', 2); % Black line
What more help do you need?
4 Comments
Arif Bilkay
on 14 Jun 2020
Edited: Arif Bilkay
on 14 Jun 2020
Image Analyst
on 15 Jun 2020
OK, so did that work? (I haven't tried it).
Arif Bilkay
on 15 Jun 2020
Image Analyst
on 15 Jun 2020
You're welcome. Could you then "Accept this answer" as additional thanks. Thanks in advance.
Categories
Find more on Graphics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!