0
$\begingroup$

I'm guessing it gets drawn twice, but I can't see where

enter image description here

$\endgroup$
3
  • $\begingroup$ Because cosine goes positive and negative. $\endgroup$ Commented Jul 21, 2017 at 20:11
  • $\begingroup$ Sorry, how does that relate? $\endgroup$
    – jamesson
    Commented Jul 21, 2017 at 20:12
  • $\begingroup$ Oh, OK, that {1,-1} at the very beginning. I don't know what that is yet, sorry. $\endgroup$
    – jamesson
    Commented Jul 21, 2017 at 20:15

1 Answer 1

2
$\begingroup$

To draw the rose only once:

PolarPlot[{{1, -1} Cos[3 t], {1, -1}}, {t, 0, Pi}]

enter image description here

Compare with

PolarPlot[{Cos[3 t], {1, -1}}, {t, 0, Pi}]

enter image description here

$\endgroup$
8
  • $\begingroup$ What does that {1,-1} do, exactly? $\endgroup$
    – jamesson
    Commented Jul 21, 2017 at 20:21
  • $\begingroup$ See updated answer $\endgroup$
    – eldo
    Commented Jul 21, 2017 at 20:21
  • $\begingroup$ The ` {1,-1}` draws the circle around the rose $\endgroup$
    – eldo
    Commented Jul 21, 2017 at 20:23
  • $\begingroup$ No, the one before Cos[3t], the one that returns 3 petals when you pull it :) $\endgroup$
    – jamesson
    Commented Jul 21, 2017 at 20:24
  • 1
    $\begingroup$ What version of Mathematica? Do not get circle with V11.1. PolarPlot was upgraded in 10.0? Are you using earlier version? $\endgroup$
    – m_goldberg
    Commented Jul 21, 2017 at 23:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.