Message Boards Message Boards

0
|
3295 Views
|
3 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Combine "three-leaf rose" and two lines

Posted 12 years ago
Dear friends:

 I would like to put 2 crossing 45 degree lines in this below command in order to have the "three-leaf rose" and those lines together.
PolarPlot[{0, 1, Sin[3 \]}, {\, 0, 2 \[Pi]}]
What would be the easiest way to do this?  Could you help me please?

Thanks,
Ana
POSTED BY: Ana Squadri
3 Replies
Can't read your code.  This how it shows up on my screen (firefox)

But you can always add lines using Epilog, or combine plots using Show and many other ways. Assuming your "\" is say "x",
you can do
z = 45 Degree;
PolarPlot[{0, 1, Sin[3 x]}, {x, 0, 2 \[Pi]},Epilog -> {Arrow[{{0, 0}, {Cos[z], Sin[z]}}],   Arrow[{{0, 0}, {-Cos[z], Sin[z]}}]}]
POSTED BY: Nasser M. Abbasi
Posted 12 years ago
Please, Could I have lines instead of arrows?Complete lines. Thank you
POSTED BY: Updating Name
Yes, simply change the word "Arrow" by the word "Line" and now Mathematica will plot a line instead of an arrow.
POSTED BY: Nasser M. Abbasi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract