squadri
(Ana Squadri)
1
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
nma
(Nasser M. Abbasi)
2
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]}}]}]
Please, Could I have lines instead of arrows?Complete lines. Thank you
nma
(Nasser M. Abbasi)
4
Yes, simply change the word “Arrow” by the word “Line” and now Mathematica will plot a line instead of an arrow.